| draft-ietf-avt-rapid-rtp-sync-00.txt | draft-ietf-avt-rapid-rtp-sync-01.txt | |||
|---|---|---|---|---|
| Network Working Group C. Perkins | Network Working Group C. Perkins | |||
| Internet-Draft University of Glasgow | Internet-Draft University of Glasgow | |||
| Updates: RFC3550 T. Schierl | Updates: RFC3550 T. Schierl | |||
| (if approved) Fraunhofer HHI | (if approved) Fraunhofer HHI | |||
| Intended status: Standards Track April 8, 2009 | Intended status: Standards Track May 7, 2009 | |||
| Expires: October 10, 2009 | Expires: November 8, 2009 | |||
| Rapid Synchronisation of RTP Flows | Rapid Synchronisation of RTP Flows | |||
| draft-ietf-avt-rapid-rtp-sync-00.txt | draft-ietf-avt-rapid-rtp-sync-01.txt | |||
| Status of this Memo | Status of this Memo | |||
| This Internet-Draft is submitted to IETF in full conformance with the | This Internet-Draft is submitted to IETF in full conformance with the | |||
| provisions of BCP 78 and BCP 79. | provisions of BCP 78 and BCP 79. | |||
| Internet-Drafts are working documents of the Internet Engineering | Internet-Drafts are working documents of the Internet Engineering | |||
| Task Force (IETF), its areas, and its working groups. Note that | Task Force (IETF), its areas, and its working groups. Note that | |||
| other groups may also distribute working documents as Internet- | other groups may also distribute working documents as Internet- | |||
| Drafts. | Drafts. | |||
| skipping to change at page 1, line 34 ¶ | skipping to change at page 1, line 34 ¶ | |||
| and may be updated, replaced, or obsoleted by other documents at any | and may be updated, replaced, or obsoleted by other documents at any | |||
| time. It is inappropriate to use Internet-Drafts as reference | time. It is inappropriate to use Internet-Drafts as reference | |||
| material or to cite them other than as "work in progress." | material or to cite them other than as "work in progress." | |||
| The list of current Internet-Drafts can be accessed at | The list of current Internet-Drafts can be accessed at | |||
| http://www.ietf.org/ietf/1id-abstracts.txt. | http://www.ietf.org/ietf/1id-abstracts.txt. | |||
| The list of Internet-Draft Shadow Directories can be accessed at | The list of Internet-Draft Shadow Directories can be accessed at | |||
| http://www.ietf.org/shadow.html. | http://www.ietf.org/shadow.html. | |||
| This Internet-Draft will expire on October 10, 2009. | This Internet-Draft will expire on November 8, 2009. | |||
| Copyright Notice | Copyright Notice | |||
| Copyright (c) 2009 IETF Trust and the persons identified as the | Copyright (c) 2009 IETF Trust and the persons identified as the | |||
| document authors. All rights reserved. | document authors. All rights reserved. | |||
| This document is subject to BCP 78 and the IETF Trust's Legal | This document is subject to BCP 78 and the IETF Trust's Legal | |||
| Provisions Relating to IETF Documents in effect on the date of | Provisions Relating to IETF Documents in effect on the date of | |||
| publication of this document (http://trustee.ietf.org/license-info). | publication of this document (http://trustee.ietf.org/license-info). | |||
| Please review these documents carefully, as they describe your rights | Please review these documents carefully, as they describe your rights | |||
| skipping to change at page 2, line 11 ¶ | skipping to change at page 2, line 11 ¶ | |||
| Abstract | Abstract | |||
| This memo outlines how RTP multimedia sessions are synchronised, and | This memo outlines how RTP multimedia sessions are synchronised, and | |||
| discusses how rapidly such synchronisation can occur. We show that | discusses how rapidly such synchronisation can occur. We show that | |||
| most RTP sessions can be synchronised immediately, but that the use | most RTP sessions can be synchronised immediately, but that the use | |||
| of video switching multipoint conference units (MCUs) or large source | of video switching multipoint conference units (MCUs) or large source | |||
| specific multicast (SSM) groups can greatly increase the initial | specific multicast (SSM) groups can greatly increase the initial | |||
| synchronisation delay. This increase in delay can be unacceptable to | synchronisation delay. This increase in delay can be unacceptable to | |||
| some applications that use layered and/or multi-description codecs. | some applications that use layered and/or multi-description codecs. | |||
| This memo updates the RTP Control Protocol (RTCP) timing rules to | This memo introduces several mechanisms to reduce the initial | |||
| reduce the initial synchronisation delay for SSM sessions. A new | synchronisation delay for multimedia sessions. It updates the RTP | |||
| feedback packet is defined for use with the Extended RTP Profile for | Control Protocol (RTCP) timing rules to reduce the initial | |||
| RTCP-based Feedback (RTP/AVPF), allowing video switching MCUs to | synchronisation delay for SSM sessions. A new feedback packet is | |||
| rapidly request resynchronisation. Two new RTP header extensions are | defined for use with the Extended RTP Profile for RTCP-based Feedback | |||
| defined to allow rapid synchronisation of late joiners, and guarantee | (RTP/AVPF), allowing video switching MCUs to rapidly request | |||
| correct timestamp based decoding order recovery for layered codecs in | resynchronisation. Two new RTP header extensions are defined to | |||
| the presence of clock skew. | allow rapid synchronisation of late joiners, and guarantee correct | |||
| timestamp based decoding order recovery for layered codecs in the | ||||
| presence of clock skew. Therefore, a synchronized insertion of RTP | ||||
| header extensions is recommended. | ||||
| Table of Contents | Table of Contents | |||
| 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 3 | 1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 4 | |||
| 2. Synchronisation of RTP Flows . . . . . . . . . . . . . . . . . 3 | 2. Synchronisation of RTP Flows . . . . . . . . . . . . . . . . . 5 | |||
| 2.1. Initial Synchronisation Delay . . . . . . . . . . . . . . 4 | 2.1. Initial Synchronisation Delay . . . . . . . . . . . . . . 5 | |||
| 2.1.1. Unicast Sessions . . . . . . . . . . . . . . . . . . . 5 | 2.1.1. Unicast Sessions . . . . . . . . . . . . . . . . . . . 6 | |||
| 2.1.2. Source Specific Multicast (SSM) Sessions . . . . . . . 5 | 2.1.2. Source Specific Multicast (SSM) Sessions . . . . . . . 6 | |||
| 2.1.3. Any Source Multicast (ASM) Sessions . . . . . . . . . 6 | 2.1.3. Any Source Multicast (ASM) Sessions . . . . . . . . . 7 | |||
| 2.1.4. Discussion . . . . . . . . . . . . . . . . . . . . . . 6 | 2.1.4. Discussion . . . . . . . . . . . . . . . . . . . . . . 7 | |||
| 2.2. Synchronisation for Late Joiners . . . . . . . . . . . . . 7 | 2.2. Synchronisation for Late Joiners . . . . . . . . . . . . . 8 | |||
| 3. Reducing RTP Synchronisation Delays . . . . . . . . . . . . . 8 | 3. Reducing RTP Synchronisation Delays . . . . . . . . . . . . . 9 | |||
| 3.1. Rapid Resynchronisation Request . . . . . . . . . . . . . 8 | 3.1. Rapid Resynchronisation Request . . . . . . . . . . . . . 9 | |||
| 3.2. In-band Delivery of Synchronisation Metadata . . . . . . . 9 | 3.2. In-band Delivery of Synchronisation Metadata . . . . . . . 10 | |||
| 3.3. Signalling . . . . . . . . . . . . . . . . . . . . . . . . 10 | 3.3. Signalling . . . . . . . . . . . . . . . . . . . . . . . . 11 | |||
| 4. Application to Decoding Order Recovery in Layered Codecs . . . 11 | 4. Application to Decoding Order Recovery in Layered Codecs . . . 12 | |||
| 4.1. Problem description . . . . . . . . . . . . . . . . . . . 11 | 4.1. Problem description . . . . . . . . . . . . . . . . . . . 12 | |||
| 4.2. Use of RTP Header Extensions for Synchronisation . . . . . 11 | 4.2. Using RTP Header Extensions for decoding order | |||
| 4.3. Timestamp based decoding order recovery . . . . . . . . . 12 | recovery: synchronous insertion . . . . . . . . . . . . . 13 | |||
| 5. Security Considerations . . . . . . . . . . . . . . . . . . . 15 | 4.3. Timestamp based decoding order recovery . . . . . . . . . 14 | |||
| 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 16 | 5. Security Considerations . . . . . . . . . . . . . . . . . . . 17 | |||
| 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 16 | 6. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 18 | |||
| 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 16 | 6.1. RTP/AVPF RTPFB FMT registration . . . . . . . . . . . . . 18 | |||
| 8.1. Normative References . . . . . . . . . . . . . . . . . . . 16 | 6.2. Registration for NTP RTP header extension . . . . . . . . 18 | |||
| 8.2. Informative References . . . . . . . . . . . . . . . . . . 16 | 7. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . . 19 | |||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 17 | 8. References . . . . . . . . . . . . . . . . . . . . . . . . . . 19 | |||
| 8.1. Normative References . . . . . . . . . . . . . . . . . . . 19 | ||||
| 8.2. Informative References . . . . . . . . . . . . . . . . . . 19 | ||||
| Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 20 | ||||
| 1. Introduction | 1. Introduction | |||
| When using RTP to deliver multimedia content it's often necessary to | When using RTP to deliver multimedia content it's often necessary to | |||
| synchronise playout of audio and video components of a presentation. | synchronise playout of audio and video components of a presentation. | |||
| This is achieved using information contained in RTP Control Protocol | This is achieved using information contained in RTP Control Protocol | |||
| (RTCP) Sender Report (SR) packets [1]. These are sent periodically, | (RTCP) Sender Report (SR) packets [1]. These are sent periodically, | |||
| and the components of a multimedia session cannot be synchronised | and the components of a multimedia session cannot be synchronised | |||
| until sufficient RTCP SR packets have been received for each flow to | until sufficient RTCP SR packets have been received for each RTP flow | |||
| allow the receiver to establish mappings between the media clock used | to allow the receiver to establish mappings between the media clock | |||
| for each flow, and the common (NTP-format) clock used to establish | used for each RTP flow, and the common (NTP-format) clock used to | |||
| synchronisation. | establish synchronisation. In the following, we refer to either SSRC | |||
| multiplexed or session multiplexed RTP streams as RTP flows in | ||||
| general. | ||||
| Recently, concern has been expressed that this synchronisation delay | Recently, concern has been expressed that this synchronisation delay | |||
| is problematic for some applications, for example those using layered | is problematic for some applications, for example those using layered | |||
| or multi-description video coding. This memo reviews the operations | or multi-description video coding. This memo reviews the operations | |||
| of RTP synchronisation, and describes the synchronisation delay that | of RTP synchronisation, and describes the synchronisation delay that | |||
| can be expected. Two backwards compatible extensions to the basic | can be expected. Two backwards compatible extensions to the basic | |||
| RTP synchronisation mechanism are proposed: | RTP synchronisation mechanism are proposed: | |||
| o An enhancement to the Extended RTP Profile for RTCP-based Feedback | o An enhancement to the Extended RTP Profile for RTCP-based Feedback | |||
| (RTP/AVPF) [2] is defined to allow receivers to request additional | (RTP/AVPF) [2] is defined to allow receivers to request additional | |||
| skipping to change at page 6, line 13 ¶ | skipping to change at page 7, line 13 ¶ | |||
| delays: | delays: | |||
| Session| Number of receivers (single sender assumed): | Session| Number of receivers (single sender assumed): | |||
| Bandwidth| 2 3 4 5 10 100 1000 10000 | Bandwidth| 2 3 4 5 10 100 1000 10000 | |||
| --+------------------------------------------------ | --+------------------------------------------------ | |||
| 8 kbps| 2.73 4.10 5.47 5.47 5.47 5.47 5.47 5.47 | 8 kbps| 2.73 4.10 5.47 5.47 5.47 5.47 5.47 5.47 | |||
| 16 kbps| 2.50 2.50 2.73 2.73 2.73 2.73 2.73 2.73 | 16 kbps| 2.50 2.50 2.73 2.73 2.73 2.73 2.73 2.73 | |||
| 32 kbps| 2.50 2.50 2.50 2.50 2.50 2.50 2.50 2.50 | 32 kbps| 2.50 2.50 2.50 2.50 2.50 2.50 2.50 2.50 | |||
| 64 kbps| 2.50 2.50 2.50 2.50 2.50 2.50 2.50 2.50 | 64 kbps| 2.50 2.50 2.50 2.50 2.50 2.50 2.50 2.50 | |||
| 128 kbps| 1.41 1.41 1.41 1.41 1.41 1.41 1.41 1.41 | 128 kbps| 1.41 1.41 1.41 1.41 1.41 1.41 1.41 1.41 | |||
| 256 kbps| 0.70 0.07 0.07 0.07 0.07 0.07 0.07 0.07 | 256 kbps| 0.70 0.70 0.70 0.70 0.70 0.70 0.70 0.70 | |||
| 512 kbps| 0.35 0.35 0.35 0.35 0.35 0.35 0.35 0.35 | 512 kbps| 0.35 0.35 0.35 0.35 0.35 0.35 0.35 0.35 | |||
| 1 Mbps| 0.18 0.18 0.18 0.18 0.18 0.18 0.18 0.18 | 1 Mbps| 0.18 0.18 0.18 0.18 0.18 0.18 0.18 0.18 | |||
| 2 Mbps| 0.09 0.09 0.09 0.09 0.09 0.09 0.09 0.09 | 2 Mbps| 0.09 0.09 0.09 0.09 0.09 0.09 0.09 0.09 | |||
| 4 Mbps| 0.04 0.04 0.04 0.04 0.04 0.04 0.04 0.04 | 4 Mbps| 0.04 0.04 0.04 0.04 0.04 0.04 0.04 0.04 | |||
| Figure 1: Average RTCP Reporting Interval (seconds) | Figure 1: Average RTCP Reporting Interval (seconds) | |||
| These numbers assume a single-source multicast channel with a single | These numbers assume a source specific multicast channel with a | |||
| active sender, which the rules in RFC 3550 section 6.3 give a fixed | single active sender, which the rules in RFC 3550 section 6.3 give a | |||
| fraction of the RTCP bandwidth irrespective of the number of | fixed fraction of the RTCP bandwidth irrespective of the number of | |||
| receivers. It can be seen that they are sufficient for lip- | receivers. It can be seen that they are sufficient for lip- | |||
| synchronisation without excessive delay, but might be viewed as | synchronisation without excessive delay, but might be viewed as | |||
| having too much latency for synchronising parts of a layered video | having too much latency for synchronising parts of a layered video | |||
| stream. | stream. | |||
| The RTCP interval is randomised in the usual manner, so the minimum | The RTCP interval is randomised in the usual manner, so the minimum | |||
| synchronisation delay will be half these intervals, and the maximum | synchronisation delay will be half these intervals, and the maximum | |||
| delay will be 1.5 times these intervals. Note also that these RTCP | delay will be 1.5 times these intervals. Note also that these RTCP | |||
| intervals are calculated assuming perfect knowledge of the number of | intervals are calculated assuming perfect knowledge of the number of | |||
| members in the session. In practice, an implementation will have | members in the session. In practice, an implementation will have | |||
| skipping to change at page 8, line 32 ¶ | skipping to change at page 9, line 32 ¶ | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| |V=2|P| FMT | PT=RTPFB=205 | length | | |V=2|P| FMT | PT=RTPFB=205 | length | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| | SSRC of packet sender | | | SSRC of packet sender | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| | SSRC of media source | | | SSRC of media source | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| : Feedback Control Information (FCI) : | : Feedback Control Information (FCI) : | |||
| : : | : : | |||
| A new feedback message type, RTCP-SR-REQ, is defined with FMT = XXX. | A new feedback message type, RTCP-SR-REQ, is defined with FMT = 5. | |||
| (the next available FMT is 5?) This MAY be sent to indicate that a | This MAY be sent to indicate that a receiver is unable to synchronise | |||
| receiver is unable to synchronise media streams, and desires that the | media streams, and desires that the media source send an RTCP SR | |||
| media source send an RTCP SR packet as soon as possible (within the | packet as soon as possible (within the constraints of the RTCP early | |||
| constraints of the RTCP early feedback rules). On receipt of this, | feedback rules). On receipt of this, the media source SHOULD | |||
| the media source SHOULD generate an RTCP SR packet as soon as | generate an RTCP SR packet as soon as possible within the RTCP early | |||
| possible within the RTCP early feedback rules. That RTCP SR packet | feedback rules. That RTCP SR packet MAY be sent as a non-compound | |||
| MAY be sent as a non-compound RTCP packet, if this has been | RTCP packet, if this has been negotiated. | |||
| negotiated. | ||||
| The Feedback Control Information (FCI) part of the packet is emtpy. | The Feedback Control Information (FCI) part of the packet is emtpy. | |||
| The SSRC of packet sender indicates the member that is unable to | The SSRC of packet sender indicates the member that is unable to | |||
| synchronise media streams, while the SSRC of media source indicates | synchronise media streams, while the SSRC of media source indicates | |||
| the sender of the media it is unable to synchronise. The lenght MUST | the sender of the media it is unable to synchronise. The length MUST | |||
| equal 2. | equal 2. | |||
| (tbd: discuss what happens if the feedback target is not co-located | (tbd: discuss what happens if the feedback target is not co-located | |||
| with the sender) | with the sender) | |||
| 3.2. In-band Delivery of Synchronisation Metadata | 3.2. In-band Delivery of Synchronisation Metadata | |||
| The RTP header extension mechanism defined in [4] can be adopted to | The RTP header extension mechanism defined in [4] can be adopted to | |||
| carry an OPTIONAL NTP format wall clock timestamp in RTP data | carry an OPTIONAL NTP format wall clock timestamp in RTP data | |||
| packets. If such a timestamp is included, it MUST correspond to the | packets. If such a timestamp is included, it MUST correspond to the | |||
| skipping to change at page 9, line 23 ¶ | skipping to change at page 10, line 23 ¶ | |||
| information provided as input to the synchronisation algorithm, as-if | information provided as input to the synchronisation algorithm, as-if | |||
| an RTCP SR packet had been received for the flow. | an RTCP SR packet had been received for the flow. | |||
| Two variants are defined for this header extension. The first | Two variants are defined for this header extension. The first | |||
| variant extends the RTP header with a 64 bit NTP timestamp format | variant extends the RTP header with a 64 bit NTP timestamp format | |||
| timestamp as defined in [5]. The second variant carries the lower 24 | timestamp as defined in [5]. The second variant carries the lower 24 | |||
| bit part of the Seconds of a NTP timestamp format timestamp and the | bit part of the Seconds of a NTP timestamp format timestamp and the | |||
| 32 bit of the Fraction of a NTP timestamp format timestamp. The | 32 bit of the Fraction of a NTP timestamp format timestamp. The | |||
| formats of the two variants are shown below. | formats of the two variants are shown below. | |||
| Variant A (16 byte) of the NTP header extension: | Variant A/64-bit NTP RTP header extension (length: 16 bytes): | |||
| 0 1 2 3 | 0 1 2 3 | |||
| 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| |V=2|P|1| CC |M| PT | sequence number | | |V=2|P|1| CC |M| PT | sequence number | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+R | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+R | |||
| | timestamp |T | | timestamp |T | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+P | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+P | |||
| | synchronization source (SSRC) identifier | | | synchronization source (SSRC) identifier | | |||
| +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | |||
| skipping to change at page 10, line 4 ¶ | skipping to change at page 11, line 4 ¶ | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+E | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+E | |||
| | ID-A | L=7 | NTP timestamp format - Seconds (bit 0-23) |x | | ID-A | L=7 | NTP timestamp format - Seconds (bit 0-23) |x | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+t | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+t | |||
| |NTP Sec.(24-31)| NTP timestamp format - Fraction(bit 0-23) |n | |NTP Sec.(24-31)| NTP timestamp format - Fraction(bit 0-23) |n | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| |NTP Frc.(24-31)| 0 (pad) | 0 (pad) | 0 (pad) | | |NTP Frc.(24-31)| 0 (pad) | 0 (pad) | 0 (pad) | | |||
| +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | |||
| | payload data | | | payload data | | |||
| | .... | | | .... | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| Variant B (12 byte) of the NTP header extension: | Variant B/56-bit NTP RTP header extension (length: 12 bytes): | |||
| 0 1 2 3 | 0 1 2 3 | |||
| 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| |V=2|P|1| CC |M| PT | sequence number | | |V=2|P|1| CC |M| PT | sequence number | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+R | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+R | |||
| | timestamp |T | | timestamp |T | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+P | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+P | |||
| | synchronization source (SSRC) identifier | | | synchronization source (SSRC) identifier | | |||
| +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | |||
| skipping to change at page 10, line 28 ¶ | skipping to change at page 11, line 28 ¶ | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+t | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+t | |||
| | NTP timestamp format - Fraction (bit 0-31) |n | | NTP timestamp format - Fraction (bit 0-31) |n | |||
| +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+ | |||
| | payload data | | | payload data | | |||
| | .... | | | .... | | |||
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ | |||
| An NTP timestamp format timestamp MAY be included on any RTP packets | An NTP timestamp format timestamp MAY be included on any RTP packets | |||
| the sender chooses, but it is RECOMMENDED when performing timestamp | the sender chooses, but it is RECOMMENDED when performing timestamp | |||
| based decoding order recovery for layered codecs transported in | based decoding order recovery for layered codecs transported in | |||
| multiple RTP flows, as discussed in Section 4. This header extension | multiple RTP flows, as further specified in Section 4.2. This header | |||
| MAY be also sent on the RTP packets corresponding to a video random | extension MAY be also sent on the RTP packets corresponding to a | |||
| access point, and on the associated audio packets, to allow rapid | video random access point, and on the associated audio packets, to | |||
| synchronisation for late joiners and in video switching scenarios. | allow rapid synchronisation for late joiners and in video switching | |||
| Note that the inclusion of an RTP header extension will reduce the | scenarios. | |||
| efficiency of RTP header compression, if it is used. | ||||
| Note: The inclusion of an RTP header extension will reduce the | ||||
| efficiency of RTP header compression, if it is used. Furthermore, | ||||
| middle boxes which do not understand the header extensions may remove | ||||
| them or may not update the content according to this memo. | ||||
| In all cases, irrespective of whether in-band NTP timestamp format | In all cases, irrespective of whether in-band NTP timestamp format | |||
| timestamps are included or not, regular RTCP SR packets MUST be sent | timestamps are included or not, regular RTCP SR packets MUST be sent | |||
| to provide backwards compatibility with receivers that synchronize | to provide backwards compatibility with receivers that synchronize | |||
| RTP flows according to [1]. The sender reports are also required to | RTP flows according to [1]. The sender reports are also required to | |||
| receive the upper 8 bit of the Seconds of the NTP timestamp format | receive the upper 8 bit of the Seconds of the NTP timestamp format | |||
| timestamp not included in the NTP header extension. | timestamp not included in the Variant B/56-bit NTP RTP header | |||
| extension (although this may generally be inferred from context). | ||||
| 3.3. Signalling | 3.3. Signalling | |||
| The signaling of using the NTP header extension defined in | When the SDP is used, the use of the RTP header extensions defined | |||
| Section 3.2 MUST be applied as defined in [4]. | above MUST be indicated as specified in [4]. Therefore the following | |||
| URIs MUST be used: | ||||
| (tbd - URI, ID-A and ID-B for the NTP header extension need to be | The URI used for signaling the use of Variant A/64-bit NTP RTP header | |||
| defined, e.g. URI: "a=extmap:ID-A | extension in SDP is: "urn:ietf:params:rtp-hdrext:ntp-64". | |||
| urn:ietf:params:rtp-hdrext:ntp-64"] "a=extmap:ID-B | ||||
| urn:ietf:params:rtp-hdrext:ntp-56"] | ||||
| The URI used for signaling the use of Variant B/56-bit NTP RTP header | ||||
| extension in SDP is: "urn:ietf:params:rtp-hdrext:ntp-56". | ||||
| 4. Application to Decoding Order Recovery in Layered Codecs | 4. Application to Decoding Order Recovery in Layered Codecs | |||
| Based on the timestamp contained each RTP data packet, and the | Based on the timestamp contained in each RTP data packet, and the | |||
| mapping to an NTP-format wall-clock time, a decoding order recovery | mapping to an NTP format wallclock time, a decoding order recovery | |||
| process is applied if a media as result of a layered coding process | process may be applied if a media as result of a layered coding | |||
| is transported in multiple RTP flows. This recovers the decoding | process is transported in multiple RTP flows. This recovers the | |||
| order of media frames or samples at the receiver. Especially when | decoding order of media frames or samples at the receiver. | |||
| transporting layered video, the decoding order recovery process is | Especially when transporting layered video, the decoding order | |||
| not straight forward. In this section, we provide guidance on how to | recovery process is not straight forward. In this section, we | |||
| use RTP/NTP timing information for decoding order recovery. | provide guidance on how to use RTP/NTP timing information for | |||
| decoding order recovery. | ||||
| 4.1. Problem description | 4.1. Problem description | |||
| One option for decoding order recovery in layered codecs is to use | One option for decoding order recovery in layered codecs is to use | |||
| the NTP (sample presentation) timestamps to reorder data of the same | the NTP/sample presentation timestamps to reorder data of the same | |||
| layered media transported in different RTP flows. For a timestamp- | layered media transported in multiple RTP flows. For a timestamp- | |||
| based decoding order recovery process, it is crucial to allow exact | based decoding order recovery process, it is crucial to allow exact | |||
| alignment of media frames respectively samples using the NTP timing | alignment of media frames respectively samples using the NTP timing | |||
| information. In the presence of clock skew, it may not be possible | information. | |||
| to derive exact matching NTP timestamps using the NTP wallclock in | ||||
| each RTP flow's RTCP sender reports. This is due to the fact that | ||||
| RTCP sender reports are not sent at the same point of time in the | ||||
| multiple RTP flows transporting data of the same layered media. If | ||||
| the RTCP SR packets are not send at the same time, they therefore do | ||||
| not contain the same NTP wallclock timestamp. If there is a skew | ||||
| present in the clock used for NTP wallclock timestamp generation, | ||||
| using different wallclock timestamps for the same sampling instance | ||||
| in the RTP flow inevitably leads to non-matching NTP timestamps | ||||
| generated from RTP timestamps and wallclock timestamp in the multiple | ||||
| RTP flows. In order to allow a common and straight forward | ||||
| timestamp-based decoding order recovery process, it is important to | ||||
| guarantee exact matching of NTP timestamps. Thus in the presence of | ||||
| non-perfect clocks, which should be the normal case, an additional | ||||
| mechanism shall be used. An exact inter-flow alignment of NTP | ||||
| timestamps can be guaranteed, if the NTP header extension is always | ||||
| inserted at the same timing position in all the RTP flows in question | ||||
| and if those NTP header extensions are used to update the NTP-RTP | ||||
| relation in all RTP flows at the same point of time. | ||||
| 4.2. Use of RTP Header Extensions for Synchronisation | In the presence of clock skew in used clock for wallclock timestamp | |||
| generation, it may not be possible to derive exact matching NTP | ||||
| timestamps using the NTP format wallclock in each RTP flow's RTCP | ||||
| sender reports. This is due to the fact that RTCP sender reports are | ||||
| not sent at the same point of time in the multiple RTP flows | ||||
| transporting data of the same layered media, while having a skew | ||||
| between those wallclock samples in the RTP flows RTCP sender reports. | ||||
| If the RTCP SR packets are not send synchronously in the multiple RTP | ||||
| flows, they therefore do not contain the same NTP wallclock | ||||
| timestamp. If there is a skew present in the clock used for NTP | ||||
| wallclock timestamp generation, using different wallclock timestamps | ||||
| for the same sampling instance in the RTP flow inevitably leads to | ||||
| non-matching NTP timestamps generated from RTP timestamps and | ||||
| wallclock timestamp in the multiple RTP flows. In order to allow a | ||||
| common and straight forward timestamp-based decoding order recovery | ||||
| process, it is important to guarantee exact matching of NTP | ||||
| timestamps. Thus in the presence of non-perfect clocks, which should | ||||
| be the normal case, an additional mechanism SHALL be used. An exact | ||||
| inter-flow alignment of NTP timestamps can be guaranteed, if an RTP | ||||
| header extension containing an NTP timestamp is always inserted at | ||||
| the same timing position in all the RTP flows in question, and if | ||||
| those NTP header extensions are used to update the NTP-RTP relation | ||||
| in all RTP flows at the same point of time. This is called | ||||
| synchronous insertion of RTP header extensions in the following. | ||||
| The NTP header extension SHOULD be used with a layered, multi- | 4.2. Using RTP Header Extensions for decoding order recovery: | |||
| description, or multi-view codec, to provide exact matching of NTP | synchronous insertion | |||
| timestamps between layers, descriptions, or views transported in | ||||
| different RTP flows to allow timestamp-based decoding order recovery. | ||||
| If the NTP header extension is inserted for RTP flows transporting | ||||
| samples or parts of samples of the same layered media, the NTP header | ||||
| extension SHALL be included at least once in each of the RTP flows of | ||||
| the same media for the sampling time instance of an insertion of a | ||||
| NTP header extension and such synchronously inserted NTP header | ||||
| extensions SHALL contain the same NTP timestamp. The frequency of | ||||
| inserting NTP header extensions in the RTP flows is up to the sender. | ||||
| The RTP header extension to convey an NTP timestamp SHOULD be used | ||||
| with a layered, multi-description, or multi-view codec, to provide | ||||
| exact matching of NTP timestamps between layers, descriptions, or | ||||
| views transported in different RTP flows to allow timestamp-based | ||||
| decoding order recovery. If this header extension is inserted for | ||||
| RTP flows transporting samples or parts of samples of the same | ||||
| layered media, it SHALL be included at least once in each of the RTP | ||||
| flows of the same media for the sampling time instance of an | ||||
| insertion of an RTP header extension. Such synchronously inserted | ||||
| RTP header extensions SHALL contain the same NTP format wallclock | ||||
| timestamp. The frequency of inserting the header extensions in the | ||||
| RTP flows is up to the sender, but it should be noticed that higher | ||||
| insertion frequencies obviously lead to higher synchronization | ||||
| frequencies. For use cases where the same clock source has been used | ||||
| to generate the RTP timestamps in the multiple RTP flows, an | ||||
| application MAY rely on the RTP timestamps only for decoding order | ||||
| recovery starting from the point of synchronous insertion of the RTP | ||||
| header extensions containing NTP timestamps. | ||||
| Note: If the decoding order of RTP flows is given by any means (as | Note: If the decoding order of RTP flows is given by any means (as | |||
| e.g., by mechanism defined in [6]), the NTP timestamp provided by the | e.g., for RTP session by mechanism defined in [6]), the NTP timestamp | |||
| header extension allows to collect data of the same sample from the | provided by the header extension allows to collect data of the same | |||
| RTP flows, forming the sample decoding order. | sample from the RTP flows, forming the sample decoding order. There | |||
| may be future mechanism to allow indication of dependencies of RTP | ||||
| flows transported as RTP streams using SSRC multiplexing | ||||
| It is RECOMMENDED that the receiver uses for timestamp-based decoding | It is RECOMMENDED that the receiver uses for timestamp-based decoding | |||
| order recovery the NTP timestamps provided in the RTP NTP header | order recovery the NTP timestamps provided in the RTP header | |||
| extensions only, if such extensions are present for the RTP flows. | extensions only, if such extensions are present for the RTP flows. | |||
| Section 4 gives further details about the timestamp-based decoding | Section 4.3 gives further details about the timestamp-based decoding | |||
| order recovery. | order recovery. | |||
| Note: Using the RTP header extensions described above allows the | Note: Using the RTP header extensions described above allows the | |||
| receiver to find the corresponding sample of the layered media, or | receiver to find the corresponding sample of the layered media, or | |||
| parts thereof, in all RTP flows at the instant the RTP header | parts thereof, in all RTP flows at the instant the RTP header | |||
| extension is inserted into the flows. This guarantees that any clock | extension is inserted into the flows. This guarantees that any clock | |||
| skew present in the NTP timestamp generation process based on RTCP | skew present in the NTP timestamp generation process based on RTCP | |||
| sender reports is avoided, and so allows direct comparison of NTP | sender reports is avoided, and so allows direct comparison of NTP | |||
| timestamps across multiple RTP flows. Furthermore, this approach | timestamps across multiple RTP flows. Furthermore, this approach | |||
| solves the possible problem of clock skews identified for the NI-T | solves the possible problem of clock skews identified for the NI-T | |||
| mode as defined in [7]. To ensure the absence of clock skew, a | mode as defined in [7]. To ensure the absence of clock skew, a | |||
| header extension containing the NTP timestamp MUST be inserted into | header extension containing the NTP timestamp MUST be inserted into | |||
| the RTP flows comprising a layered media stream at the same instant | the RTP flows comprising a layered media stream at the same instant | |||
| in each RTP flow. This may require the insertion of extra packets in | in each RTP flow. This may require the insertion of extra packets in | |||
| some of the RTP flows, since in layered video codecs not all sampling | some of the RTP flows, since in layered video codecs not all sampling | |||
| instances may be present in all the flows. If such a header | instances may be present in all the flows. If such a header | |||
| extension is included in all flows at a sampling time instance, the | extension is included in all flows at a sampling time instance, the | |||
| NTP timestamps for samples following in decoding order the NTP header | NTP timestamps for samples following in decoding order the RTP header | |||
| insertion point can be constructed using the RTP timestamps and | insertion point can be constructed using the RTP timestamps and | |||
| identical reference NTP timestamps in the NTP header extension in all | identical reference NTP timestamps in the NTP header extension in all | |||
| RTP flows. It should be noted that the frequency of inserting the | RTP flows. It should be noted that the frequency of inserting the | |||
| NTP header extension is crucial in presence of clock skew, since the | RTP header extension containing the NTP timestamp is crucial in | |||
| points of insertion may be the only points for a receiver to start | presence of clock skew, since the points of insertion may be the only | |||
| the decoding order recovery. | points for a receiver to start the decoding order recovery. | |||
| 4.3. Timestamp based decoding order recovery | 4.3. Timestamp based decoding order recovery | |||
| If parts or complete samples as result of a layered coding process | If parts or complete samples as result of a layered coding process | |||
| are transported as different RTP flows as different RTP streams | are transported as different RTP flows, i.e. as different RTP | |||
| and/or as different RTP sessions, a decoding order recovery process | streams, and/or as different RTP sessions, a decoding order recovery | |||
| is required to reorder the samples or parts of samples received. | process is required to reorder the samples or parts of samples | |||
| Such mechanism may be based on the NTP presentation timestamp which | received. Such mechanism may be based on the NTP presentation | |||
| can be derived from the RTP timestamp using the NTP wallclock | timestamp which can be derived from the RTP timestamp using the NTP | |||
| provided in the RTCP sender report packets. In order to guarantee | wallclock provided in the RTCP sender report packets. | |||
| the exact NTP alignment, the RTP NTP header extension as defined in | ||||
| this memo in Section 3.2 allows the receiver to tune in before the | ||||
| reception of such a sender report if the header extension is earlier | ||||
| provided in the RTP flow or it may be the only way to allow correct | ||||
| decoding order recovery based on exact matching of NTP timestamps in | ||||
| case of the presence of clock skew in the clock used for generating | ||||
| the NTP wallclock. | ||||
| In order to guarantee the exact alignment of those derived NTP | ||||
| presentation timestamps, the RTP header extension as defined in this | ||||
| memo in Section 3.2 allows the receiver to start the decoding order | ||||
| recovery before the reception of a RTCP sender report if the RTP | ||||
| header extension is earlier provided in the RTP flow. Using the RTP | ||||
| header extensions may be the only way to allow correct decoding order | ||||
| recovery based on exact matching of NTP timestamps in the presence of | ||||
| clock skew in the clock used for generating the NTP wallclock. | ||||
| Furthermore, some use cases may allow to use synchronously inserted | ||||
| RTP header extensions containing NTP timestamps to align the RTP | ||||
| timestamps of the multiple RTP flows, i.e. use cases where the RTP | ||||
| timestamps of the multiple RTP flows are generated from the same | ||||
| clock source. In such use cases, starting from a synchronous | ||||
| insertion of the RTP header extensions, the application may use the | ||||
| detected difference of RTP random offset values in the multiple | ||||
| sessions to align the media samples of parts of samples. | ||||
| Since typically for layered video codecs as, e.g. SVC [7], the | Since typically for layered video codecs as, e.g. SVC [7], the | |||
| decoding order is not equal to the presentation order of the media | decoding order is not equal to the presentation order of the media | |||
| samples, media samples or parts of media samples cannot be simply | samples, media samples or parts of media samples cannot be simply | |||
| ordered according to the presentation timestamp order. For this | ordered according to the presentation timestamp order. For this | |||
| reason, if transporting media samples or parts of media samples of a | reason, if transporting media samples or parts of media samples of a | |||
| layered, multi-view or multi description codec in different RTP | layered, multi-view or multi description codec in different RTP | |||
| flows, the following rules SHOULD be kept for sending such flows: | flows, the following rules SHOULD be kept for sending such flows: | |||
| Note: The following rules are typically kept for layered audio | Note: The following rules are typically kept for layered audio | |||
| codecs, which allows using the same algorithm for decoding order | codecs, which allows using the same algorithm for decoding order | |||
| skipping to change at page 14, line 10 ¶ | skipping to change at page 15, line 45 ¶ | |||
| sampling instances. | sampling instances. | |||
| Note: In some cases, it may be required to add packets in higher RTP | Note: In some cases, it may be required to add packets in higher RTP | |||
| flows in order to satisfy the second rule above. This may be | flows in order to satisfy the second rule above. This may be | |||
| achieved by placing empty RTP packets (containing padding data only) | achieved by placing empty RTP packets (containing padding data only) | |||
| or by other payload means as, e.g. the Empty NAL unit packet as | or by other payload means as, e.g. the Empty NAL unit packet as | |||
| defined in [7]. | defined in [7]. | |||
| If a packet must be inserted for satisfying the above rule, the NTP | If a packet must be inserted for satisfying the above rule, the NTP | |||
| timestamp of such an inserted packet MUST be set equal to the NTP | timestamp of such an inserted packet MUST be set equal to the NTP | |||
| timestamp of a packet of the access unit present in any lower RTP | timestamp of a packet of the same sample present in any lower RTP | |||
| flow and the lowest RTP flow. This is easy to accomplish if the | flow and the lowest RTP flow. This is easy to accomplish if the | |||
| packet can be inserted at the time of the RTP flow generation, since | packet can be inserted at the time of the RTP flow generation, since | |||
| the NTP timestamp must be the same for the inserted packet and the | the NTP timestamp must be the same for the inserted packet and the | |||
| packet of the corresponding sample. | packet of the corresponding sample. | |||
| The above rules allow the receiver to process the data of the RTP | The above rules allow the receiver to process the data of the RTP | |||
| flows as follows: | flows as follows: | |||
| o Go through all received RTP flows starting with the highest RTP | o Go through all received RTP flows starting with the highest RTP | |||
| flow and aggregate the sample data or parts of the sample data | flow and aggregate the sample data or parts of the sample data | |||
| with the same NTP timestamp in the order of RTP flows, starting | with the same NTP timestamp in the order of RTP flows, starting | |||
| from the lowest RTP flow up to the highest RTP flow received, to | from the lowest RTP flow up to the highest RTP flow received, to | |||
| the sample with the NTP timestamp present in the highest RTP flow. | the sample with the NTP timestamp present in the highest RTP flow. | |||
| The NTP timestamps MAY be derived using RTCP sender reports or MAY | The NTP timestamps MAY be derived using RTCP sender reports or MAY | |||
| be directly taken from the NTP header extension. The order of RTP | be directly taken from the NTP timestamp provided in an RTP header | |||
| flows may e.g. be indicated by mechanisms as defined in [6] or any | extension. The order of RTP flows may e.g. be indicated by | |||
| other implicit or explicit means. Repeat the aforementioned | mechanisms as defined in [6] or any other implicit or explicit | |||
| process for each different NTP timestamp present in the highest | means. Repeat the aforementioned process for each different NTP | |||
| RTP flow. | timestamp present in the highest RTP flow. | |||
| Informative example: The example shown in Figure 3 refers to three | Informative example: The example shown in Figure 3 refers to three | |||
| RTP flows A, B and C containing a layered, a multi-view or a multi- | RTP flows A, B and C containing a layered, a multi-view or a multi- | |||
| description media stream. In the example, the dependency signalling | description media stream. In the example, the dependency signalling | |||
| as defined in [6] indicates that flow A is the lowest RTP flow, B is | as defined in [6] indicates that flow A is the lowest RTP flow, B is | |||
| the first higher RTP flow and depends on A, and C is the second | the first higher RTP flow and depends on A, and C is the second | |||
| higher RTP flow corresponding to flow A and depends on A and B. A | higher RTP flow corresponding to flow A and depends on A and B. A | |||
| picture coding prediction structure is used that results in samples | media coding structure is used that results in samples present in | |||
| present in higher flows but not present in all lower flows. Flow A | higher flows but not present in all lower flows. Flow A has the | |||
| has the lowest frame rate and Flow B and C have the same but higher | lowest frame rate and Flow B and C have the same but higher frame | |||
| frame rate. The figure shows parts of video samples contained in RTP | rate. The figure shows the full video samples with their | |||
| packets which are stored in the de-jittering buffer at the receiver | corresponding RTP timestamps "(x)". The video samples are already | |||
| for de-packetization. The parts of the video samples are already re- | re-ordered according to their RTP sequence number order. The figure | |||
| ordered according to their RTP sequence number order. The figure | indicates for the received sample in decoding order within each RTP | |||
| indicates for the received sample parts the decoding order within the | flow, as well as the associated NTP media timestamps ("TS[..]"). | |||
| sessions, as well as the associated media (NTP) timestamps | These timestamps may be derived using the NTP format wallclock | |||
| ("TS[..]"). Parts share the same media timestamp TS, which is shown | provided in the RTCP sender reports or as shown in the figure | |||
| at the bottom of the figure. Note that the timestamps are not in | directly from the NTP timestamp contained in the RTP header | |||
| increasing order since, in this example, the decoding order is | extensions as indicate by the timestamp in "<x>". Note that the | |||
| different from the output/display order. | timestamps are not in increasing order since, in this example, the | |||
| decoding order is different from the output/presentation order. | ||||
| The process first proceeds to the sample parts associated with the | The process first proceeds to the sample parts associated with the | |||
| first media timestamp TS[1] present in the highest flow C and | first available synchronous insertion of NTP timestamp into RTP | |||
| removes/ignores all preceding (in decoding order) sample parts to | header extensions at NTP media timestamp TS=[8] and starts in the | |||
| sample parts with TS[1] in each of the de-jittering buffers of RTP | highest RTP flow C and removes/ignores all preceding sample parts (in | |||
| flows A, B, and C. Then, starting from flow C, the first media | decoding order) to sample parts with TS=[8] in each of the de- | |||
| timestamp available in decoding order (TS [1]) is selected and sample | jittering buffers of RTP flows A, B, and C. Then, starting from flow | |||
| parts starting from RTP flow A, and flow B and C are placed in order | C, the first media timestamp available in decoding order (TS=[8]) is | |||
| of the RTP flow dependency as indicated by mechanisms defined in [6] | selected and sample parts starting from RTP flow A, and flow B and C | |||
| (in the example for TS[1]: first flow B and then flow C into the | are placed in order of the RTP flow dependency as indicated by | |||
| video sample AU(TS[1]) associated with media timestamp TS[1]. Then | mechanisms defined in [6] (in the example for TS[8]: first flow B and | |||
| the next media timestamp TS[3] in order of appearance in the highest | then flow C into the video sample VS(TS[8]) associated with NTP media | |||
| RTP flow C is processed and the process described above is repeated. | timestamp TS=[8]. Then the next media timestamp TS=[6] (RTP | |||
| Note that there may be video samples with no sample parts present, | timestamp=(4)) in order of appearance in the highest RTP flow C is | |||
| e.g., in the lowest RTP flow A (see, e.g., TS[1]). With TS[8], the | processed and the process described above is repeated. Note that | |||
| first video sample with sample parts present in all the RTP flows | there may be video samples with no sample parts present, e.g., in the | |||
| appears in the buffers. | lowest RTP flow A (see, e.g., TS=[5]). The decoding order recovery | |||
| process could be also started after receiving all RTP sender reports | ||||
| "RTP"-"wallclock" mapping (indicated as timestamps "(x){y}") assuming | ||||
| that there is no clock skew in the source used for the wallclock | ||||
| generation. | ||||
| C: ------------(1)----(2)---(3)---(4)----(5)--(6)---(7)----(8)---- | C:-(0)----(2)----(7)<8>--(5)----(4)----(6)-----(11)----(9){10}- | |||
| | | | | | | | | | | | | | | | | | | | | |||
| B: -(1)---(2)--(3)----(4)---(5)---(6)----(7)--(8)---(9)---(10)---- | B:-(3)----(5)---(10)<8>--(8)----(7)----(9){7}--(14)----(12)---- | |||
| | | | | | | | | | | | | |||
| A: -------(1)---------------(2)---(3)---------------(4)----(5)---- | A:---------------(3)<8>--(1)-------------------(7){12}-(5)----- | |||
| --------------------------------------------------decoding order--> | ||||
| TS: [4] [2] [1] [3] [8] [6] [5] [7] [12] [10] | ---------------------------------------decoding/transmission order-> | |||
| TS:[1] [3] [8]=<8> [6] [5] [7] [12] [10] | ||||
| Key: | Key: | |||
| A, B, C - RTP sessions | A, B, C - RTP flows | |||
| Integer values in "()"- Video sample/part of video sample decoding | Integer values in "()"- video sample with its RTP timestamp as | |||
| order within RTP session | indicated in its RTP packet. | |||
| "|" - indicates corresponding samples / parts of | "|" - indicates corresponding samples / parts of | |||
| sample of the same video sample AU(TS[..]) | sample of the same video sample VS(TS[..]) | |||
| in the RTP flows | in the RTP flows. | |||
| Integer values in "[]"- media timestamp TS, sampling time | Integer values in "[]"- NTP media timestamp TS, sampling time | |||
| as derived from the NTP timestamp associated | as derived from the NTP timestamp associated | |||
| with the video sample AU(TS[..]), consisting | with the video sample AU(TS[..]), consisting | |||
| of sample parts in the sessions above. | of sample parts in the flows above. | |||
| Integer values in "<>"- NTP media timestamp TS as directly | ||||
| taken from the NTP RTP header extensions. | ||||
| Integer values in "{}"- NTP media timestamp TS as provided in the | ||||
| RTCP sender reports. | ||||
| 5. Security Considerations | 5. Security Considerations | |||
| The security considerations of the RTP specification [1] and RTP/AVPF | The security considerations of the RTP specification [1] and RTP/AVPF | |||
| profile [2] apply. No additional security considerations apply due | profile [2] apply. No additional security considerations apply due | |||
| to the RTP/AVPF rapid resynchronisation mechanism defined in | to the RTP/AVPF rapid resynchronisation mechanism defined in | |||
| Section 3.1. | Section 3.1 and the in-band delivery of synchronisation metadata | |||
| defined in Section 3.2. | ||||
| 6. IANA Considerations | 6. IANA Considerations | |||
| (tbd - this needs to register the new RTP/AVPF transport layer | The following contact information shall be used for all registrations | |||
| feedback packet type) | included in this section: | |||
| This memo defines one new RTP/AVPF [2] RTCP FB message type and two | ||||
| RTP header extensions following [4]. | ||||
| 6.1. RTP/AVPF RTPFB FMT registration | ||||
| Within the Transport layer FB messages RTPFB value range of [2], the | ||||
| following FMT value is registered: | ||||
| Name: RTCP-SR-REQ | ||||
| Long name: Rapid Resynchronisation Request | ||||
| Value: 5 | ||||
| Reference: This document | ||||
| Contact: Colin Perkins | ||||
| mailto:csp@csperkins.org | ||||
| 6.2. Registration for NTP RTP header extension | ||||
| IANA has registered two new extensions URIs to the RTP Compact Header | ||||
| Extensions sub-registry of the Real-Time Transport Protocol (RTP) | ||||
| Parameters registry of [4], according to the following data: | ||||
| Variant A/64-bit NTP RTP header extension as defined in Section 3.2: | ||||
| Extension URI: urn:ietf:params:rtp-hdrext:ntp-64 | ||||
| Description: 64-bit NTP timesstamp format header extension | ||||
| Reference: This document | ||||
| Contact: Thomas Schierl | ||||
| mailto:Thomas.Schierl@hhi.fraunhofer.de | ||||
| Variant B/56-bit NTP RTP header extension as defined in Section 3.2: | ||||
| Extension URI: urn:ietf:params:rtp-hdrext:ntp-56 | ||||
| Description: 56-bit NTP timesstamp format header extension | ||||
| Reference: This document | ||||
| Contact: Thomas Schierl | ||||
| mailto:Thomas.Schierl@hhi.fraunhofer.de | ||||
| 7. Acknowledgements | 7. Acknowledgements | |||
| This memo has benefitted from discussions with numerous members of | This memo has benefitted from discussions with numerous members of | |||
| the IETF AVT working group, including Magnus Westerlund, Randell | the IETF AVT working group, including Jonathan Lennox, Magnus | |||
| Jesup, Jonathan Lennox, Gerard Babonneau, Ingemar Johansson, and Roni | Westerlund, Randell Jesup, Gerard Babonneau, Ingemar Johansson, Ali | |||
| Even. The header extension format of Variant A in Section 3.2 was | Began, Ye-Kui Wang, and Roni Even. The header extension format of | |||
| suggested by Dave Singer, matching a similar mechanism specified by | Variant A in Section 3.2 was suggested by Dave Singer, matching a | |||
| ISMA. | similar mechanism specified by ISMA. | |||
| 8. References | 8. References | |||
| 8.1. Normative References | 8.1. Normative References | |||
| [1] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, | [1] Schulzrinne, H., Casner, S., Frederick, R., and V. Jacobson, | |||
| "RTP: A Transport Protocol for Real-Time Applications", STD 64, | "RTP: A Transport Protocol for Real-Time Applications", STD 64, | |||
| RFC 3550, July 2003. | RFC 3550, July 2003. | |||
| [2] Ott, J., Wenger, S., Sato, N., Burmeister, C., and J. Rey, | [2] Ott, J., Wenger, S., Sato, N., Burmeister, C., and J. Rey, | |||
| skipping to change at page 16, line 42 ¶ | skipping to change at page 19, line 37 ¶ | |||
| Levels", BCP 14, RFC 2119, March 1997. | Levels", BCP 14, RFC 2119, March 1997. | |||
| [4] Singer, D. and H. Desineni, "A General Mechanism for RTP Header | [4] Singer, D. and H. Desineni, "A General Mechanism for RTP Header | |||
| Extensions", RFC 5285, July 2008. | Extensions", RFC 5285, July 2008. | |||
| [5] Mills, D., "Network Time Protocol (Version 3) Specification, | [5] Mills, D., "Network Time Protocol (Version 3) Specification, | |||
| Implementation", RFC 1305, March 1992. | Implementation", RFC 1305, March 1992. | |||
| [6] Schierl, T. and S. Wenger, "Signaling media decoding dependency | [6] Schierl, T. and S. Wenger, "Signaling media decoding dependency | |||
| in Session Description Protocol (SDP)", | in Session Description Protocol (SDP)", | |||
| draft-ietf-mmusic-decoding-dependency-05 (work in progress), | draft-ietf-mmusic-decoding-dependency-08 (work in progress), | |||
| November 2008. | April 2009. | |||
| 8.2. Informative References | 8.2. Informative References | |||
| [7] Wenger, S., Wang, Y., Schierl, T., and A. Eleftheriadis, "RTP | [7] Wenger, S., Wang, Y., Schierl, T., and A. Eleftheriadis, "RTP | |||
| Payload Format for SVC Video", draft-ietf-avt-rtp-svc-16 (work | Payload Format for SVC Video", draft-ietf-avt-rtp-svc-18 (work | |||
| in progress), December 2008. | in progress), March 2009. | |||
| [8] Casner, S., "Session Description Protocol (SDP) Bandwidth | [8] Casner, S., "Session Description Protocol (SDP) Bandwidth | |||
| Modifiers for RTP Control Protocol (RTCP) Bandwidth", RFC 3556, | Modifiers for RTP Control Protocol (RTCP) Bandwidth", RFC 3556, | |||
| July 2003. | July 2003. | |||
| [9] Rosenberg, J., "Interactive Connectivity Establishment (ICE): A | [9] Rosenberg, J., "Interactive Connectivity Establishment (ICE): A | |||
| Protocol for Network Address Translator (NAT) Traversal for | Protocol for Network Address Translator (NAT) Traversal for | |||
| Offer/Answer Protocols", draft-ietf-mmusic-ice-19 (work in | Offer/Answer Protocols", draft-ietf-mmusic-ice-19 (work in | |||
| progress), October 2007. | progress), October 2007. | |||
| skipping to change at page 17, line 42 ¶ | skipping to change at page 20, line 35 ¶ | |||
| Email: csp@csperkins.org | Email: csp@csperkins.org | |||
| Thomas Schierl | Thomas Schierl | |||
| Fraunhofer HHI | Fraunhofer HHI | |||
| Einsteinufer 37 | Einsteinufer 37 | |||
| D-10587 Berlin | D-10587 Berlin | |||
| Germany | Germany | |||
| Phone: +49-30-31002-227 | Phone: +49-30-31002-227 | |||
| Email: thomas.schierl@hhi.fraunhofer.de | Email: Thomas.Schierl@hhi.fraunhofer.de | |||
| End of changes. 45 change blocks. | ||||
| 196 lines changed or deleted | 285 lines changed or added | |||
This html diff was produced by rfcdiff 1.46. The latest version is available from http://tools.ietf.org/tools/rfcdiff/ | ||||