How to force client to switch RTP transport from UDP to TCP?

后端 未结 6 1676
情深已故
情深已故 2020-12-15 12:23

If the client wants to watch a stream that is on my RTSP server, it first tries to setup a stream through the UDP protocol. How can I tell it that my server only supports RT

6条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-15 12:44

    You can try to pass "transport" header in a response to Describe request, and state there that your server only supports RTP/AVP/TCP transport, and the client should know that UDP is unsupported.

提交回复
热议问题