[MPlayer-dev-eng] Question about real media rtsp redirect
adland
adland123 at yahoo.com
Fri Jul 23 04:54:16 CEST 2004
I tried the following mplayer example based on a user list messsage.
mplayer -playlist
"http://click.real.com/?clipid=50031&pageid=movies.pachinko.stories"
after a few urls were fetched/parsed the final url caused a redirect
librtsp: server responds: 'REDIRECT
rtsp://go.rbn.com:554/realone/hollywood/demand/trailers/44310_300.rm?title=
Real%20Movies&author=RealNetworks RTSP/1.0'
rtsp_session: redirected to
rtsp://rx-lvl3-tex19.rbn.com/farm/*/realone/hollywood/demand/trailers/
44310_300.rm?title=Real Movies&author=RealNetworks
which failed with
MPlayer interrupted by signal 11 in module: open_stream
traced issue to the line I commented in patch below.
Unsure what the reason was for this issue with the line I commented however.
which is part of libmpdemux/url.c/url_free called from in libmpdemux/network.c
realrtsp_streaming_start( stream_t *stream ) {
....
if ( redirected == 1 ) {
url_free(stream->streaming_ctrl->url);
--- main/libmpdemux/url.c 2004-06-25 14:51:13.000000000 -0400
+++ updated/libmpdemux/url.c 2004-07-22 22:07:14.000000000 -0400
@@ -213,7 +213,7 @@
if(url->url) free(url->url);
if(url->protocol) free(url->protocol);
if(url->hostname) free(url->hostname);
- if(url->file) free(url->file);
+// if(url->file) free(url->file);
if(url->username) free(url->username);
if(url->password) free(url->password);
free(url);
thanks.
More information about the MPlayer-dev-eng
mailing list