[Red5] Pause delay due Jetty buffer (or something like this)
Lenny Sorey
lrsorey at gmail.com
Tue Dec 4 04:54:07 PST 2007
Sergey,
Can you these videos with a codec that is compatible with Windows Media
Player?
Can't view thse in their present state.
Lenny
On 12/4/07, Mamontov Sergey V. <moonlight at ua.elro.com> wrote:
>
> Steven,
>
> I make two video files, will be better watch it one by one :)
>
> 1) http://work.elro.com/red5_video/waiting_for_pause_notify.avi
> 2) http://work.elro.com/red5_video/closing_net_connection.avi
>
> Regards,
>
> Sergey
>
> >
> >
> > Hello, Steven.
> >
>
> >
>
> >
> >
>
> >
> > AFAIK if the pause message reaches the server, the server will stop
> > sending packets to client immediately. So the pause delay might be
> > caused by the delay of pause message delivery.
> >
>
> >
>
> >
> >
>
> >
>
> >
> > Yes, when I look at red5 server logs everything goes as you say,
> > the red5 server stops sending messages.
> >
> > But when I look at the clien't traffic monitor it shows that the
> > client continue getting some data from the stream for some time.
> >
>
> >
> > Here is the example (if I'm wrong, please correct me, I'm new to red5):
> >
> > Say we have the mp3 stream on server, the server has played 10 seconds
> of the stream,
> >
> > but the client has very slow connection and his bandwidth let him to
> play only 2 seconds of 10,
> >
> > so the rest 8 seconds should be in some server buffer. And at this
> > moment we hit the pause at the client.
> >
> > Then we look at server logs and see that the server gets the pause from
> client instantly and
> >
> > sends the pause.notify and buffer.flush instantly, AFAIK, this
> > means that the server puts the data packets right after 10 seconds of
> sound packets
> >
> > which the server had already played in this stream, so now in some
> > server buffer we have 8 seconds of audio and 2 data packets in the end
> of the stream queue.
> >
>
> >
> > Then we look at the client's traffic monitor and see how these 8
> > second of audio are downloaded (in spite of we have paused the
> > Stream in the SWF and it doesn't play)
> >
> > and right after we have downloaded these 8 second to nowhere we
> > finaly get these 2 data packets with 2 notifications (pause.notify and
> buffer.flush).
> >
>
> >
> > Maybe the thing is in some Jetty buffer which is not controllable from
> red5?
> >
>
> >
> > Sergey is recording the video of what I have described, very soon
> > he will publish it to the mailing list.
> >
>
> >
>
> >
>
>
> _______________________________________________
> Red5 mailing list
> Red5 at osflash.org
> http://osflash.org/mailman/listinfo/red5_osflash.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/red5_osflash.org/attachments/20071204/010161f4/attachment.html
More information about the Red5
mailing list