Re: [Live-devel] how to schedule function using scheduleDelayedTask()

2011-07-07 Thread Ross Finlayson
It's true that MultiFramedRTPSink class already provide this feature of adding delay. But what we wanted was the optimization over that. With MultiFramedRTPSink::sendPacketIfNecessary function delay was added before sending packet over the network. As we are working on live(real time) transmis

Re: [Live-devel] how to schedule function using scheduleDelayedTask()

2011-07-07 Thread Ashwani Kathuria
It's true that MultiFramedRTPSink class already provide this feature of adding delay. But what we wanted was the optimization over that. With MultiFramedRTPSink::sendPacketIfNecessary function delay was added before sending packet over the network. As we are working on live(real time) transmission

Re: [Live-devel] how to schedule function using scheduleDelayedTask()

2011-07-07 Thread Ross Finlayson
I did some modification in code for live streaming. Now I want the getNextFrame to be scheduled with a delay (of frame duration). So in function, MultiFramedRTPSink::packFrame() What modifications I should do in code in order to call fSource->getNextFrame function() using envir().taskScheduler().

[Live-devel] how to schedule function using scheduleDelayedTask()

2011-07-07 Thread Ashwani Kathuria
Hi, I did some modification in code for live streaming. Now I want the getNextFrame to be scheduled with a delay (of frame duration). So in function, *MultiFramedRTPSink::packFrame()* What modifications I should do in code in order to call *fSource->getNextFrame function()* using *envir().taskSche