Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Confusion regarding RTSP over HTTP tunneling

I had an confusion of which I searched but didn't get any answer.

I am streaming a video file using RTSP over HTTP tunneling then when I see the wire-shark to see the packets source and destination and protocol I saw a UDP protocol although i am using RTSP over HTTP tunneling.

Can any one tell me why don't I see the TCP protocol instead of UDP protocol for packets being sent from source to destination?

like image 866
Ajinkya Avatar asked Dec 05 '25 02:12

Ajinkya


1 Answers

RTSP sets up RTP streams for streaming the video and audio. They are probably being sent over UDP instead of tunneling over the existing TCP connection.

Just because RTSP is being tunneled over HTTP doesn't guarantee that the RTP streams will be configured to use the same socket. It's up to the client to request the transport, but you can change the server to only support the interleaved transport. See this answer https://stackoverflow.com/a/3536969/759140

like image 112
vipw Avatar answered Dec 07 '25 20:12

vipw



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!