0
我们正在努力建设一个SIP2RTSP网关为我们的解决方案之一,凡在SIP的一个邀请转换为RTSP SETUP请求wowza媒体服务器,然后播放从媒体服务器到SipClient播放。关于RTSP建立请求
但是,当设置发送请求的wowza总是结合RTSP即使目标在SETUP请求头的传输设置客户端地址。在这里,我们想告诉wowza rtsp服务器绑定到sip UA IP,而不是rtsp客户端ip来处理RTP流量。
RFC 2326说
destination:
The address to which a stream will be sent. The client may
specify the multicast address with the destination parameter.
To avoid becoming the unwitting perpetrator of a remote-
controlled denial-of-service attack, a server SHOULD
authenticate the client and SHOULD log such attempts before
allowing the client to direct a media stream to an address not
chosen by the server. This is particularly important if RTSP
commands are issued via UDP, but implementations cannot rely
on TCP as reliable means of client identification by itself. A
server SHOULD not allow a client to direct media streams to an
address that differs from the address commands are coming
from.
这里也告诉一个 服务器不应该允许客户直接媒体流从地址的命令不同的来源 的 地址。
用的是什么目标字段,以及如何我们可以直接在媒体比RTSP流客户端等?
谢谢罗马!因此,要允许服务器将流发送到客户端选择的位置,那么您是否应该说我们应该有一个身份验证机制来确保客户端的真实性。 除了让rtp代理是rtsp客户端之外,还有没有办法实现上述行为? – Pradeep
由于您正在构建RTSP服务器(在RTSP端作为服务器的SIP到RTSP代理 - 这就是我在Q中看到的),因此本笔记是您的安全考虑事项。这样你就可以安全地建立它。从那里你决定自己的安全考虑是适当的。 –
对不起,我会放流, sipUA-> sip2RTSP-> Wowza的RTSPSERVER /媒体服务器,现在sip2RTSP会发出SETUP请求RTSP /介质服务器上接收SIP从SIP UA邀请代表SIP UA的,但我们希望媒体流(RTP流量)使用RTSP直接绕过si2RTSP流向sipUA。这是我的问题。 。请原谅我以前的问题是错的。 – Pradeep