问题描述
RTCP接收器报告的发送间隔是多少?在RFC 3550中,我只能找到服务器的RTCP传输间隔的计算.但是作为客户,我对成员和发件人一无所知(或者是吗?).因此,我有点困惑如何计算时间间隔,或者应该定期发送RTCP RR,还是应该仅在收到SR时发送RR数据包?
What is the sending interval of RTCP Receiver Report? In RFC 3550 I was only able to find computation the RTCP Transmission Interval for the server. But as a client I have no idea about members and senders (or do I?). So I'm a little bit confuse how to calculate the interval or should I send RTCP RR in periods or should I only send RR packet when SR is received?
推荐答案
RTP和RTCP协议在客户端和服务器之间没有区别.两者都是RTP会话中的成员,并且都可以发送和接收RTP数据.成员根据 RFC 3550第6.2 节中的算法按间隔发布RTCP报告.
The RTP and RTCP protocols don't make a distinction between client and server. Both are members within the RTP session and both can send and receive RTP data. Members issue RTCP reports on an interval according to the algorithm in RFC 3550 Section 6.2.
如果成员发送了任何RTP数据包,则成员会发布复合RTCP报告,该报告包含接收方报告和发件人报告(其他报告类型也可能包含在复合报告中). RFC 3550第6.4节:
Members issue a compound RTCP report that contains a Receiver Report and optionally a Sender Report if that member has sent any RTP data packets (other report types may be included in the compound report as well). RFC 3550 Section 6.4:
客户端和服务器都是RTP接收器,即使您的RTP数据仅沿一个方向流动.您应该能够观察到发件人(您的服务器)使用SR和RR消息创建了复合RTCP数据包.您的客户端应该只发送带有RR消息的RTCP数据包
Both the client and server are RTP receivers even if your RTP data only flows in one direction. You should be able to observe a sender (your server) creating compound RTCP packets with SR and RR messages. Your client should be sending an RTCP packet with only a RR message
这篇关于RTCP接收者报告发送间隔的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!