summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'libmpdemux/network.c')
-rw-r--r--libmpdemux/network.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libmpdemux/network.c b/libmpdemux/network.c
index b25567b2b7..c5662840c1 100644
--- a/libmpdemux/network.c
+++ b/libmpdemux/network.c
@@ -1036,6 +1036,9 @@ realrtsp_streaming_start( stream_t *stream ) {
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;