How to force stream RTP video with vlc over tcp protocol?

Chuan Nguyen picture Chuan Nguyen · Oct 28, 2015 · Viewed 22.5k times · Source

I'm trying to stream a video via rtp with vlc, the default protocol is UDP, but its performance is very low (bitrate, resolution, smooth,..)

So, I want to use vlc with rtp to stream video over tcp protocol to gain higher performance.

Are there anyone can help me to force vlc streaming rtp over tcp protocol. Please help me if you have any idea.

Thank you so much!

Answer

nkarstens picture nkarstens · Mar 5, 2018

If you're using the command-line client then add the --rtsp-tcp options:

vlc --rtsp-tcp rtsp://path/to/stream