Re: [Live-devel] Regarding TS stream pause

2008-09-17 Thread Ross Finlayson
Instead of adjusting the "fDurationInMicroseconds" , can not I stop streaming for few milliseconds and restart again.? (pausing) Yes, of course you could do that. But it's not the right way to do what you want to do. The "fDurationInMicroseconds" variable does exactly what you want: It t

Re: [Live-devel] Regarding TS stream pause

2008-09-17 Thread sunil sunil
Hi Ross, Thanks for the reply. Instead of adjusting the "fDurationInMicroseconds" , can not I stop streaming for few milliseconds and restart again.? (pausing) Because if the client is not ready to receive the data, I shouldn't send. If I use "RTPSink->stopPlaying", It completely stops.So I can no

Re: [Live-devel] Potential Issues in ReorderingPacketBuffer Class Implementation

2008-09-17 Thread Ross Finlayson
The first issue is related to : delete fHeadPacket when reset() method of ReorderingPacketBuffer is called. The fHeadPacket pointer can be NULL if it is calling in the context of ~ReorderingPacketBuffer() when the medium source is closed. I know it legal on C++ but it is confusing for someone t

[Live-devel] Potential Issues in ReorderingPacketBuffer Class Implementation

2008-09-17 Thread Guy Bonneau
Ross, While reviewing the code of Class ReorderingPacketBuffer in file MultiFramedRTPSource.cpp I think I might have found potential issues. The first issue is related to : delete fHeadPacket when reset() method of ReorderingPacketBuffer is called. The fHeadPacket pointer can be NULL if it is

Re: [Live-devel] Regarding TS stream pause

2008-09-17 Thread Ross Finlayson
I am using livemedia library to send the TS Stream via RTP.(only sending) Some times I need to Pause the streaming for few milli seconds. Is it possible to do that.? According to my receiver's speed I need to adjust the sending. You should try to provide more buffering in your receiver, becaus

[Live-devel] Regarding TS stream pause

2008-09-17 Thread sunil sunil
Hi, I am using livemedia library to send the TS Stream via RTP.(only sending) Some times I need to Pause the streaming for few milli seconds. Is it possible to do that.? According to my receiver's speed I need to adjust the sending. So in between I need to stop streaming and then start again if I g