[Live-devel] Initialization of the Live555 for 2 streamings

Ross Finlayson finlayson at live555.com
Tue Nov 13 07:13:58 PST 2007


>Hallo,
>
>is possible to initialize the live555 for doing 2 streams ?

Yes.  Create the source and sink objects for each stream, call 
"sink->startPlaying(...)" for each stream, then call 
"scheduler.doEventLoop()" - just once - at the end, to start the 
event loop.

>
>For example one for mpeg streaming at the port 1234 and the second 
>stream for jpeg at the second port 5678 and the two streams are 
>working with the same multicast adress.

It's a bad idea to use the same multicast address for two different 
streams, because if you do that, the receiving computer will get data 
for both streams, even if it wants data for only one of the streams. 
You should use different multicast addresses and ports for different 
streams.
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list