Re: [Live-devel] Stop/restart RTP source

2009-11-03 Thread Dong Liu
Ross Finlayson wrote: Am I doing the right thing when doing stop and start the RTP stream? I think so. But what are you using for your server? I *think* our RTP/RTCP server implementation will handle this correctly (because RTCP packets should continue to get sent even after the stream is s

Re: [Live-devel] Stop/restart RTP source

2009-11-02 Thread Ross Finlayson
Am I doing the right thing when doing stop and start the RTP stream? I think so. But what are you using for your server? I *think* our RTP/RTCP server implementation will handle this correctly (because RTCP packets should continue to get sent even after the stream is stopped). But other im

[Live-devel] Stop/restart RTP source

2009-11-02 Thread Dong Liu
Hi, In my project I need to stop and restart receving RTP stream. I'm using the following code to do these, start and restart is the same, mySink->startPlaying(theRtpSource, afterPlayFun, NULL); watchVariable=0; pScheduler->doEventLoop(&watchVariable); For stop mySink->stopPlaying(); watchV