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

后端 未结 6 1675
情深已故
情深已故 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条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-15 13:02

    What client connects to your server? Some clients can be triggered through the URI method in the URL. For example, you could specify rtspt://myhost/path.sdp.

    If you have control over client/servers you could use the Require header on clients and Unsupported on servers to indicate that UDP isn't supported; but most clients I've seen don't use this.

提交回复
热议问题