How to force stream RTP video with vlc over tcp protocol

rtpstreamingtcpvlc

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!

Best Answer

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

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