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

Armando Ko armandopoulos at yahoo.fr
Wed Nov 14 02:17:52 PST 2007


Hi Ross,

Thank you it´s working very well.
Armando

Ross Finlayson <finlayson at live555.com> a écrit : >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/
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel


             
---------------------------------
 Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.live555.com/pipermail/live-devel/attachments/20071114/7f722c70/attachment.html 


More information about the live-devel mailing list