[MPlayer-dev-eng] [PATCH] Disable extension based detection for rtsp when compiled without live.com
Roberto Togni
r_togni at tiscali.it
Sat Apr 3 20:01:44 CEST 2004
On 2004.04.03 17:26, kiriuja wrote:
> Hi all:
>
> This is my first MPlayer patch.
>
> The code in network.c that does extension based detection for rtsp
> is currently run even if the live.com libraries are not compiled in.
> If an rtsp url doesn't have a .rm or .ra extension, it gives an error
> and doesn't try realrtsp. The patch makes it skip the detection and
> always try playing with realrtsp when the live.com stuff is missing.
>
> There are *many* realrtsp streams out there that do not have .rm or
> .ra extensions. Probably 99% of them are akamaistream.net streams.
> For samples just google for "rtsp akamaistream reflector".
Real rtsp is only for RealMedia files, they usually have extension .ra, .
rm, .ram (playlist, usually on http and not on rtsp), and sometimes .
rmvb
Do you have some rtsp streaming urls with RealMedia content where files
have a different extension?
>
> I would also guess that 99% of akamaistream.net streams are realrtsp
> streams. So if we did host-based detection for akamaistream and tried
> playing them with realrtsp we would be right 99% of the time. Does
> anyone object to this?
I'll check them. Relying on hostname to select a stream format is an
horrible hack IMHO.
>
> Another idea would be to have a command line option to force realrtsp
> or to have it try realrtsp after normal rtsp fails, or the other way
> around...
>
> --
> kiriuja
Ciao,
Roberto
More information about the MPlayer-dev-eng
mailing list