Hello,
I am running an RTSP server using Live555 and receiving the stream using ffmpeg. The exact ffmpeg version is the Zeranoe build from September 13th 2014. Everything runs as expected on localhost but when connecting to the server from a remote machine, the connection will fail when using UDP. The only port that it will work on is 554, which is the default RTSP port. Any other port will timeout. This has also been tested in ffplay where it will move over to a TCP connection and successfully establish the connection. However, I do not wish to use TCP for my video stream as it is a live feed. The necessary ports have been forwarded on my router (554-564) and UPnP is enabled. Futhermore, when using the Live555 test RTSP clients, the connection is established instantly when using any port, although I cannot find out if the connection is over UDP or TCP. Is there a known issue with only being able to use certain ports for RTSP? The timeout is happening in avformat_open_input() where I am passing in a pre-allocated context set up with a callback to handle the timeout and the format information is being guessed from the url. The call is as so: AVDictionary* opts = NULL; if (avformat_open_input(&m_formatCtx, url, NULL, &opts) != 0) return false; The RTSP stream url is in the form: rtsp://79.108.232.252:560/h264_Stream Any information or advice would be greatly appreciated. Thanks, Ben Morris Jet Stone Studios
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
