[MPlayer-dev-eng] Re: Real rtsp:// support

Ross Finlayson finlayson at live.com
Sat Apr 19 07:46:15 CEST 2003


Earlier, I wrote:

>A better solution would be to have this detection occur inside the LIVE.COM
>code, because it's there that I know for sure whether or not the stream is
>RealAudio or RealVideo.  I.e. we could try opening the URL with the
>LIVE.COM code *first*, and then, if that code reports that it can't do it
>(because the stream is RealAudio/RealVideo), we could try using your Real
>rtsp:// code instead.

I looked into this, and unfortunately it turns out that this would be 
difficult to do (without a gross hack in "mplayer.c").  Basically, the 
difficulty is that the place where the LIVE.COM code detects whether the 
stream is RealMedia is in "demux_open()", rather than in "open_stream()".

So, for now it's best to just continue with the existing solution (i.e., 
the extension-based check).

         Ross.



More information about the MPlayer-dev-eng mailing list