[Live-devel] Regarding TS stream pause
sunil sunil
cbitsunil at gmail.com
Wed Sep 17 17:53:18 PDT 2008
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 not use this.
Please help me
Sunil.
On Wed, Sep 17, 2008 at 11:56 PM, Ross Finlayson <finlayson at live555.com>wrote:
>
> 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, because the
> streaming should be happening at an appropriate bitrate, ***on average***.
>
> However, if you *really* want to adjust the rate at which the TS data gets
> sent, then the best way to do this would be to adjust the calculation of
> "fDurationInMicroseconds" in "liveMedia/MPEG2TransportStreamFramer.cpp".
> (As always, though, once you've made changes to the provided code, you
> can't expect much more help on this mailing list.)
>
>
> Ross Finlayson
> Live Networks, Inc. (LIVE555.COM <http://live555.com/>)
> <http://www.live555.com/>
>
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20080918/70c246f5/attachment-0001.html>
More information about the live-devel
mailing list