# HG changeset patch # User rtognimp # Date 1101152755 0 # Node ID fa9b268b59dec3370c92de7f106ac4a3791aa153 # Parent 2b912d545edd6e8ba5dda83e06a69665fab62c60 Try port 7070 if 554 fails for realrtsp streams diff -r 2b912d545edd -r fa9b268b59de libmpdemux/network.c --- a/libmpdemux/network.c Mon Nov 22 15:32:08 2004 +0000 +++ b/libmpdemux/network.c Mon Nov 22 19:45:55 2004 +0000 @@ -1036,6 +1036,9 @@ fd = connect2Server( stream->streaming_ctrl->url->hostname, 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; file = stream->streaming_ctrl->url->file;