RTCP接收者报告发送间隔 [英] RTCP receiver report sending interval

查看:151
本文介绍了RTCP接收者报告发送间隔的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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接收器使用RTCP报告数据包提供接收质量反馈,这取决于接收器是否也是发送者,可以采用两种形式之一.除了数据包类型代码外,发送方报告(SR)和接收方报告(RR)形式之间的唯一区别是,发送方报告包括一个20字节的发送方信息部分,供活动发送方使用.如果站点自发布上一个或上一个报告以来的时间间隔内发送了任何数据包,则发出SR,否则发布RR.

RTP receivers provide reception quality feedback using RTCP report packets which may take one of two forms depending upon whether or not the receiver is also a sender. The only difference between the sender report (SR) and receiver report (RR) forms, besides the packet type code, is that the sender report includes a 20-byte sender information section for use by active senders. The SR is issued if a site has sent any data packets during the interval since issuing the last report or the previous one, otherwise the RR is issued.

客户端和服务器都是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接收者报告发送间隔的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆