[MPlayer-dev-eng] Delayed Packets

Rohit Kapoor rohitk at CS.UCLA.EDU
Thu May 8 00:13:28 CEST 2003


Dave,
Thanks for replying. I was referring to RTP/RTSP streaming. I am using the
LIVE library with MPlayer. The streaming server is the MP3Streamer that is
part of the LIVE library.

My question is basically this: Suppose I am streaming MP3 over a wireless
link from 'server' machine to 'client' machine, which runs the MPlayer. My
question is this: suppose packet 1 reaches mplayer on time, but packet 2
reaches mplayer really late (maybe due to bad wireless channel etc). Will
the MPlayer still play this packet? I mean, how does the MPlayer handle this
situation?

I am assuimg that the MPlayer will want to play MP3 packets at regular
intervals so that the sound quality is good. So, if a packet is late (and
the MPlayer is not able to play packets at regular intervals), how does it
handle this situation?

Thanks,
Rohit

----- Original Message -----
From: "Dave Lambley" <mplayer-dev-eng at dlambley.freeserve.co.uk>
To: <mplayer-dev-eng at mplayerhq.hu>
Sent: Wednesday, May 07, 2003 1:50 PM
Subject: Re: [MPlayer-dev-eng] Delayed Packets


> Hi,
>
> On Wed, 2003-05-07 at 19:39, Rohit Kapoor wrote:
> > I tried to look at the MPlayer code, but could not figure out an answer
to
> > my question. Can somebody please tell me what MPlayer does with delayed
> > packets, i.e., what kind of deadlines does it have for packets (are
these
> > deadlines strict) and what does it do when a packet misses its deadline?
>
> What kind of streaming do you mean? For HTTP streaming, the OS handles
> all the flow control and packet re-ordering rather than MPlayer. This
> isn't really the place to ask about that.
>
> When a packet is lost or arrives late, the OS will hold on to any
> subsequent packets received until the missing one arrives, before
> passing the data up to MPlayer in the correct order.
>
> The deadlines will depend on the server's OS, but will be something like
> [Average round trip time] * [Fudge factor].
>
> Cheers,
> Dave
>
>
>
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://mplayerhq.hu/mailman/listinfo/mplayer-dev-eng



More information about the MPlayer-dev-eng mailing list