Thanks for your reply.But I&#39;m sorry that I didn&#39;t express the matter properly.<br>I just wanted to transmit multiple streams that might be started at diffierent time(I didn&#39;t know the exact time) and played at the same time.<br>
I find that I could call &quot;TaskScheduler::doEventLoop()&quot; at the beginning.Then when a user (i.e<br>, a webcam) connects to the server and sends live video data, I will create a new ServerMediaSession for him and use RTSPServer::addServerMediaSession() to add this new ServerMediaSession object.So that the VLC can play this stream.When another user connects to the server, I will do the same thing.I will modify my code today to have a test.<br>
Is what I said above correct?<br><br>Richy<br>Best Regards<br><br><div class="gmail_quote">2010/2/4 Ross Finlayson <span dir="ltr">&lt;<a href="mailto:finlayson@live555.com">finlayson@live555.com</a>&gt;</span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
.I want to transmit multiple live stream which may start at different time(i.e one stream today and another tommorrow).For the test****stremer, I can use multiple sinks just like<br>
&quot;sink1-&gt;startPlaying(), sink2-&gt;startPlaying()&quot; .But my server is following the eaxample of OnDemandRTSPServer and I have live<br>
source.Would you please give some advice?<br>
</blockquote>
<br></div>
Use &quot;TaskScheduler::scheduleDelayedTask()&quot;.<div><div></div><div class="h5"><br>
-- <br>
<br>
Ross Finlayson<br>
Live Networks, Inc.<br>
<a href="http://www.live555.com/" target="_blank">http://www.live555.com/</a><br>
_______________________________________________<br>
live-devel mailing list<br>
<a href="mailto:live-devel@lists.live555.com" target="_blank">live-devel@lists.live555.com</a><br>
<a href="http://lists.live555.com/mailman/listinfo/live-devel" target="_blank">http://lists.live555.com/mailman/listinfo/live-devel</a><br>
</div></div></blockquote></div><br>