Try port 7070 if 554 fails for realrtsp streams

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14018 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
rtognimp 2004-11-22 19:45:55 +00:00
parent 3533bc959c
commit 8500fffcb6
1 changed files with 3 additions and 0 deletions

View File

@ -1036,6 +1036,9 @@ realrtsp_streaming_start( stream_t *stream ) {
fd = connect2Server( stream->streaming_ctrl->url->hostname, fd = connect2Server( stream->streaming_ctrl->url->hostname,
port = (stream->streaming_ctrl->url->port ? stream->streaming_ctrl->url->port : 554),1 ); port = (stream->streaming_ctrl->url->port ? stream->streaming_ctrl->url->port : 554),1 );
if(fd<0 && !stream->streaming_ctrl->url->port)
fd = connect2Server( stream->streaming_ctrl->url->hostname,
port = 7070, 1 );
if(fd<0) return -1; if(fd<0) return -1;
file = stream->streaming_ctrl->url->file; file = stream->streaming_ctrl->url->file;