我们正试图为我们的解决方案之一构建一个SIP2RTSP网关,其中一个SipClient被转换为将RTSP设置请求转换为,然后将一个PlayBack从mediaServer播放到SipClient。
但是,当发送安装请求时,wowza总是绑定到rtsp客户端地址,即使目的地是在传输安装请求头时设置的。在这里,我们希望告诉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客户端之外的媒体流?
发布于 2012-11-26 09:43:40
关键是客户端可以请求将流发送到客户端选择的位置。静态服务器应该小心地这样做,并决定是否允许一个与RTSP客户端地址不同的地址,或者不使用身份验证、可用性等安全考虑因素,因为将流盲目地发送到任何给定的地址。通过UDP,是不安全的:恶意客户端可能很容易使服务器瘫痪。
总之,destination是发送流的位置。服务器并不保证流将发送到RTSP客户端以外的其他位置。
https://stackoverflow.com/questions/13561592
复制相似问题