[Live-devel] Need your help

Tielin Xu TIELXU01 at noa.nintendo.com
Wed Jun 18 11:22:19 PDT 2008


Thanks Ross,
I guess this is  my last question before I dig in your code to test.
I noticed that the class FileSink is used in testMP3Receiver.cpp, 
What format FileSink puts the RTP payload into the file, mp3, wav, or
others,
I did not see any setup about the format? 

Best regards,

Tieiln

>>> Ross Finlayson <finlayson at live555.com> 06/18/08 10:44 AM >>>
>I checked the testProgs, which one you think better fit my need,
>testMP3Stream.cpp, or testMP3Receiver.cpp?

Look at the code for "testMPEG1or2VideoReceiver" (or 
"testMP3Receiver"), and read the FAQ to see how to adapt this for 
receiving unicast streams.


>  I need to capture multiple
>calls, from your FAQ, the Live library is not thread safe, do you
think
>that
>creating different capture session in each thread can work out?

No, you must not use multiple threads.  Instead, you can receive 
multiple streams within a single event loop (run by a single thread). 
(Alternatively, you could run multiple *processes* (i.e., 
applications), each receiving one stream.  Your choice....)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/ 
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com 
http://lists.live555.com/mailman/listinfo/live-devel


More information about the live-devel mailing list