[Live-devel] Proper way to stream several files withlivelibraries?

Iñigo Lopez Barranco ilopez at albatros-sl.es
Wed Nov 24 11:46:03 PST 2004


Thank you very much.

Iñigo


-----Original Message-----
From: live-devel-bounces at ns.live.com on behalf of Ross Finlayson
Sent: Tue 11/23/2004 10:10 PM
To: LIVE.COM Streaming Media - development & use
Subject: RE: [Live-devel] Proper way to stream several files withlivelibraries?
 

>So it would be for 2 sinks:
>sink1->startPlaying();
>sink2->startPlaying();
>env1->taskScheduler().doEventLoop();

That's correct.

>But how do I get to start again when the multifile source has ended? Do I 
>have to reopen the source and call startPlaying() similar to what 
>testMPEG1or2VideoStreamer does

Yes. But note, though, that you will need to do this from within the 'after 
playing' function that you passed to the call to "startPlaying()".  (The 
reason for this is that, at this point, you are still executing within 
"doEventLoop()".)


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>

_______________________________________________
live-devel mailing list
live-devel at lists.live.com
http://lists.live.com/mailman/listinfo/live-devel

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 3147 bytes
Desc: not available
Url : http://lists.live.com/pipermail/live-devel/attachments/20041124/f2957c98/attachment.bin


More information about the live-devel mailing list