Page 1 of 1

Vlc Command line port assignments RTSP in

Posted: 14 Aug 2017 16:15
by radnix
Hi , I'm connecting to a remote RTSP camera and streaming out multicast udp. I want to know is I can tell the RTSP camera what ports to send to VLC. I've studied SDP for client and server port assignments but do not see a way to construct arguments via command line for VLC to request specific ports or a port range. Any help appreciated.

Re: Vlc Command line port assignments RTSP in

Posted: 14 Aug 2017 19:08
by Rémi Denis-Courmont
If you use multicast, the sender decides on the port. Just pass --rtcp-mcast option to the VLC client to enable multicast reception.

Re: Vlc Command line port assignments RTSP in

Posted: 19 Aug 2017 23:15
by radnix
Thanks for the suggestion "--rtsp-mcast". That led me to "--rtp-client-port=<integer>" and that's precisely what I need. Works for me :)

Thank you Rémi Denis-Courmont ! :D

Re: Vlc Command line port assignments RTSP in

Posted: 16 Nov 2017 21:39
by NewtownGuy
Can you give a complete CVLC command line to show how to do this on the sending end ? I thought one would want to control which pair of adjacent ports the sender uses so one knows what pair of ports to open through a router for access to these streams from the Internet.