[MPlayer-dev-eng] [PATCH] Disable extension based detection for rtsp when compiled without live.com

kiriuja mplayer-patches at en-directo.net
Sat Apr 3 17:26:25 CEST 2004


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".

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?

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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-rtsp-patch-1.diff
Type: text/x-diff
Size: 1405 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040403/05e59fbc/attachment.diff>


More information about the MPlayer-dev-eng mailing list