[MPlayer-dev-eng] [PATCH] Do not block mplayer at rtsp eof
Ross Finlayson
finlayson at live555.com
Tue May 1 22:02:55 CEST 2007
>As Rich pointed out, for mplayer, it's mandatory to finish playing on EOF.
>I guess you mean "mediaSession->playEndTime()" when talking about "known
>end time": I'm surprised because it's never (I mean in testing streams I
>use) exactly accurate.
FYI, "openRTSP" waits up to 5 seconds after the specified "playEndTime()".
>
>New patch attached: If not behind 95% of playEndTime(), it waits 10sec,
>which is the timeout of mplayers native rtsp code; behind 95%, it will
>quit after 2 sec.
>
>Since having no timeout at all is really bad IMO, I'd like to apply this
>or a similar version.
It's been a long time since I used MPlayer, and I can't remember
whether or not you support seeking within a stream (for those streams
that support this). If so, it would be unfortunate if you gave up
the ability for the user to seek backwards and replay (at least part
of) such a stream after reaching the end. However, I agree that this
behavior would be incompatible with playlists. (Perhaps you could
vary the behavior depending on whether or not the stream is part of a
(multi-element) playlist?? But anyway, I'll let you folks decide
which behavior you want to support...
--
Ross Finlayson
Live Networks, Inc.
http://www.live555.com/
More information about the MPlayer-dev-eng
mailing list