Content deleted Content added
m format RFCs |
|||
(48 intermediate revisions by 29 users not shown) | |||
Line 1:
{{short description|Sister protocol of the Real-time Transport Protocol that provides control information}}
{{distinguish|Real Time Streaming Protocol}}
{{Infobox networking protocol
| title = RTP Control Protocol
| logo =
| logo alt =
| image =
| image alt =
| caption =
| is stack = No
| abbreviation = RTCP
| purpose = Provide feedback on the [[quality of service]]
| developer = [[Columbia University]]
| date = {{Start date and age|2003|07}}
| based on =
| influenced =
| osilayer =
| ports =
| rfcs = {{IETF RFC|3550|plainlink=yes}}
| hardware =
}}
The '''RTP Control Protocol''' ('''RTCP''') is a
The primary function of RTCP is to provide feedback on the [[quality of service]] (QoS) in media distribution by periodically sending statistics information such as transmitted [[Octet (computing)|octet]] and packet counts, [[packet loss]], [[packet delay variation]], and [[round-trip delay time]] to participants in a streaming multimedia session. An application may use this information to control quality of service parameters, perhaps by limiting flow, or using a different [[codec]].
{{Internet protocol suite|application=RTP Control Protocol}}
== Protocol functions ==
Typically RTP will be sent on an even-numbered [[User Datagram Protocol|UDP]] port, with RTCP messages being sent over the next higher odd-numbered port.
RTCP itself does not provide any flow encryption or authentication methods. Such mechanisms may be implemented, for example, with the [[Secure Real-time Transport Protocol]] (SRTP)
RTCP provides basic functions expected to be implemented in all RTP sessions:
*The primary function of RTCP is to gather statistics on quality aspects of the media distribution during a session and transmit this data to the session media source and other session participants. Such information may be used by the source for adaptive media encoding ([[codec]]) and detection of transmission faults. If the session is carried over a multicast network, this permits non-intrusive session quality monitoring.
*RTCP provides canonical end-point identifiers (
*Provisioning of session control functions. RTCP is a convenient means to reach all session participants, whereas RTP itself is not. RTP is only transmitted by a media source.
RTCP reports are expected to be sent by all participants, even in a multicast session which may involve thousands of recipients. Such traffic will increase proportionally with the number of participants. Thus, to avoid network congestion, the protocol must include session bandwidth management. This is achieved by dynamically controlling the frequency of report transmissions. RTCP bandwidth usage should generally not exceed 5% of the total session bandwidth. Furthermore, 25% of the RTCP bandwidth should be reserved to media sources at all times, so that in large conferences new participants can receive the CNAME identifiers of the senders without excessive delay.
The RTCP reporting interval is randomized to prevent unintended synchronization of reporting. The recommended minimum RTCP report interval per station is 5 seconds. Stations should not transmit RTCP reports more often than once every 5 seconds.
==Packet header==
{{APHD|start|title=RTCP packet header{{Ref RFC|3550}}}}
{{APHD|0|bits1=2|field1=Version|field2=P|bits3=5|field3=RC|bits4=8|field4=PT|bits5=16|field5=Length}}
{{APHD|4|bits1=32|field1=SSRC Identifier}}
{{APHD|end}}
;{{APHD|def|name=Version|length=2 bits|text=Identifies the version of RTP, which is the same in RTCP packets as in RTP data packets. The version defined by this specification is two (2).}}
;{{APHD|def|name=Padding|short=P|length=1 bit|text=Indicates if there are extra padding bytes at the end of the RTP packet. Padding may be used to fill up a block of certain size, for example as required by an encryption algorithm. The last byte of the padding contains the number of padding bytes that were added (including itself).}}
;{{APHD|def|name=Reception Report Count|short=RC|length=5 bits|text=The number of reception report blocks contained in this packet. A value of zero is valid.}}
;{{APHD|def|name=Packet Type|short=PT|length=8 bits|text=Contains a constant to identify RTCP packet type.}}
;{{APHD|def|name=Length|length=16 bits|text=Indicates the length of this RTCP packet (including the header itself) in 32-bit units minus one.}}
;{{APHD|def|name=SSRC Identifier|length=32 bits|text=''Synchronization Source Identifier'' uniquely identifies the source of a stream.}}
Note that multiple reports can be concatenated into a single compound RTCP packet, each with its own packet header.
==Message types==
RTCP distinguishes several types of packets: ''sender report'', ''receiver report'', ''source description'', and ''goodbye''. In addition, the protocol is extensible and allows application-specific RTCP packets. A standards-based extension of RTCP is the ''extended report'' packet type
;Sender report (SR):
;Receiver report (RR): The receiver report is for passive participants, those that do not send RTP packets. The report informs the sender and other receivers about the quality of service.
;Source description (SDES): The Source Description message is used to send the CNAME item to session participants. It may also be used to provide additional information such as the name, e-mail address, telephone number, and address of the owner or controller of the source.
Line 97 ⟶ 65:
==Scalability in large deployments==
In large-scale applications, such as in [[Internet Protocol
[http://www.academypublisher.com/jnw/vol03/no03/jnw03030110.pdf Realtime control protocol and its improvements for Internet Protocol Television]</ref>
===Hierarchical aggregation===
The Hierarchical Aggregation (or also known as RTCP feedback hierarchy) is an optimization of the RTCP feedback model and its aim is to shift the maximum number of users limit further together with [[quality of service]] (QoS) measurement.<ref name=HA1/><ref name=HA2/> The [[RTCP]] [[Bandwidth (computing)|bandwidth]] is constant and takes just 5% of session bandwidth. Therefore, the reporting interval about QoS depends, among others, on a number of session members and for very large sessions it can become very high (minutes or even hours)
The Hierarchical Aggregation is used with [[Source-Specific Multicast]] where only a single source is allowed, i.e. [[IPTV]]. Another type of multicast could be [[Any-Source Multicast]] but it is not so suitable for large-scale applications with huge number of users.
{{
=== Feedback Target ===
Feedback Target is a new type of member that has been firstly introduced by the Internet Draft draft-ietf-avt-rtcpssm-13
==Standards documents==
* {{Sum RFC|3550}}
==See also==
* [[Streaming media]]
* [[
==References==
Line 125 ⟶ 89:
<ref name=HA1>[https://web.archive.org/web/20070509035431/http://adela.utko.feec.vutbr.cz/projects/publications/#2 KOMOSNY D., NOVOTNY V. Tree Structure for Specific-Source Multicast with feedback Aggregation, in ICN07 - The Sixth International Conference on Networking . Martinique, 2007] {{ISBN|0-7695-2805-8}}</ref>
<ref name=HA2>[https://web.archive.org/web/20070509035431/http://adela.utko.feec.vutbr.cz/projects/publications/#2 NOVOTNY, V., KOMOSNY, D. Optimization of Large-Scale RTCP Feedback Reporting in ICWMC 2007. ICWMC 2007 - The Third International Conference on Wireless and Mobile Communications. Guadeloupe, 2007] {{ISBN|0-7695-2796-5}}</ref>
}}
==Further reading==
* {{cite book|last=Perkins|first=Colin|title=RTP|publisher=Addison-Wesley|year=2003|pages=414|isbn=978-0-672-32249-5|url=https://books.google.com/books?id=OM7YJAy9_m8C}}
* {{cite book |last=Peterson |first=Larry L. |author2=Bruce S. Davie |title=Computer Networks |publisher=Morgan Kaufmann |year=2007 |edition=4 |pages=806 |isbn=978-0-12-374013-7 |url=
* {{cite book|publisher=Javvin Technologies | title=Network Protocols Handbook |chapter=RTCP |
{{DEFAULTSORT:Rtp Control Protocol}}
|