-
Notifications
You must be signed in to change notification settings - Fork 2
/
hevc-webrtc-10.nr
338 lines (299 loc) · 11.8 KB
/
hevc-webrtc-10.nr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
.\" format this document with "rfc hevc-webrtc-10.nr draft-ietf-avtcore-hevc-webrtc-05.txt"
.nr HY 0
.pl 10.0i
.po 0
.ll 7.2i
.lt 7.2i
.nr LL 7.2i
.nr LT 7.2i
.ds LH INTERNET-DRAFT
.ds CH H.265 Profile for WebRTC
.ds RH \*(DY
.ds LF Aboba & Hancke
.ds CF Standards Track
.ds RF FORMFEED[Page %]
.tl 'AVTCORE Working Group''B. Aboba'
.tl 'INTERNET-DRAFT''Microsoft Corporation'
.tl 'Category: Standards Track''P. Hancke'
.tl 'Expires: May 10, 2025''Facebook Inc.'
.tl '''\*(DY'
.ad l
.LP
.LP
.ce
H.265 Profile for WebRTC
.ce
draft-ietf-avtcore-hevc-webrtc-05.txt
Abstract
.in +0.3i
RFC 7742 defines WebRTC video processing and codec requirements, including
guidance for endpoints supporting the VP8 and H.264 codecs, which are mandatory
to implement.
With support for H.265 under development in WebRTC browsers,
similar guidance is needed for browsers considering support for the
H.265 codec, whose RTP payload format is defined in RFC 7798.
.in -0.3i
Status of This Memo
.in +0.3i
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF).
Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on May 10, 2025.
.in -0.3i
.bp
Copyright Notice
.in +0.3i
Copyright (c) 2024 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents (https://trustee.ietf.org/
license-info) in effect on the date of publication of this document.
Please review these documents carefully, as they describe your rights
and restrictions with respect to this document. Code Components
extracted from this document must include Revised BSD License text as
described in Section 4.e of the Trust Legal Provisions and are
provided without warranty as described in the Revised BSD License.
.in -0.3i
Table of Contents
.in +0.3i
.nf
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
1.1. Terminology . . . . . . . . . . . . . . . . . . . . . . . 3
1.2 Abbreviations . . . . . . . . . . . . . . . . . . . . . . 3
2. H.265 Support . . . . . . . . . . . . . . . . . . . . . . . . 4
2.1 Parameters . . . . . . . . . . . . . . . . . . . . . . . 4
2.2 Feedback . . . . . . . . . . . . . . . . . . . . . . . . 5
3. Security Considerations . . . . . . . . . . . . . . . . . . . 5
4. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 6
5. References . . . . . . . . . . . . . . . . . . . . . . . . . . 6
5.1. Normative References . . . . . . . . . . . . . . . . . . 6
5.2. Informative References . . . . . . . . . . . . . . . . . 7
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . 7
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 7
.fi
.in -0.3i
.bp
.NH 1
.R
Introduction
.in +0.3i
"RTP Payload Format for High Efficiency Video Coding (HEVC)" [RFC7798] defines
the encapsulation of H.265 [H.265] within the Real-time Transport Protocol (RTP) [RFC3550].
While "WebRTC Video Processing and Codec Requirements" [RFC7742] provides
guidance for endpoints supporting the mandatory to implement VP8 and H.264 codecs,
it does not cover H.265. With H.265 support under development within browsers [HEVC-WebKit][HEVC-Chrome]
there is a need to for an interoperability profile of [RFC7798] for WebRTC implementations choosing to support
H.265.
.in -0.3i
.NH 2
.R
Terminology
.in +0.3i
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in
BCP 14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here.
.in -0.3i
.NH 2
.R
Abbreviations
.in +0.3i
AP Aggregation Packet
BLA Broken Link Access
CRA Clean Random Access
FU Fragmentation Unit
IDR Instantaneous Decoding Refresh
IRAP Intra Random Access Point
MANE Media-Aware Network Element
MRMT Multiple RTP streams on Multiple media Transports
MRST Multiple RTP streams on a Single media Transport
NAL Network Abstraction Layer
NALU Network Abstraction Layer Unit
PACI PAyload Content Information
PPS Picture Parameter Set
SEI Supplemental Enhancement Information
SFM Selectively Forwarding Middlebox
SPS Sequence Parameter Set
SRST Single RTP stream on a Single media Transport
TID Temporal Identifier
TSCI Temporal Scalability Control Information
VCL Video Coding Layer
VPS Video Parameter Set
.in -0.3i
.bp
.NH 1
.R
H.265 Support
.in +0.3i
Support for the H.265 video codec is OPTIONAL for WebRTC browsers and non-browsers.
Implementations supporting H.265 that conform to this specification MUST support
receiving H.265 and MAY support sending H.265.
For the H.265 [H.265] codec, endpoints MUST support the payload formats
defined in [RFC7798]. In addition, they MUST support Main Profile
Level 3.1 (level-id=93) and SHOULD support Main Profile Level 4 (level-id=120).
[RFC7798] Section 4.5 defines how TSCI
is communicated using PACI Extensions defined in [RFC7798] Section 4.4.4.2.
A WebRTC implementation that has negotiated use of RTP header extensions
containing TSCI information (such as the Dependency Descriptor [DD]) SHOULD
NOT send TSCI information within the PACI. If TSCI information is
being received in an RTP header extension, implementations MUST
ignore TSCI information contained in the PACI.
[RFC7798] Section 4.4.2 describes how APs are carried within RTP payloads:
.in +0.3i
"An AP consists of a payload header (denoted as PayloadHdr) followed
by two or more aggregation units... The value of TID MUST be the
lowest value of TID of all the aggregated NAL units.
.in +0.3i
Informative note: All VCL NAL units in an AP have the same TID
value since they belong to the same access unit. However, an AP
may contain non-VCL NAL units for which the TID value in the NAL
unit header may be different than the TID value of the VCL NAL
units in the same AP."
.in -0.3i
.in -0.3i
Within an RTP payload, VCL NAL units MUST NOT be aggregated with
non-VCL NAL units with a lower TID value. Instead the non-VCL
NAL units with a lower TID value MUST be packetized within a distinct
RTP packet. This ensures that a MANE or SFM can forward VCL and
non-VCL NAL units to the correct set of participants.
.in -0.3i
.NH 2
.R
Parameters
.in +0.3i
Implementations of the H.265 codec have utilized a wide variety of
optional parameters. To improve interoperability, the following
parameter settings are specified:
level-id: Implementations SHOULD include this parameter within SDP and
MUST interpret it when receiving it. If no level-id is present, a
value of 93 (i.e., Level 3.1) MUST be inferred. As noted in [RFC7798]
Section 5, the "highest level indicated by the answer is either equal to
or lower than that in the offer."
tx-mode: Implementations SHOULD include this parameter within SDP.
If no tx-mode parameter is present, a value of "SRST" MUST be inferred.
Implementations MUST support "SRST"; support for "MRST" and "MRMT"
are OPTIONAL. Implementations that do not support "MRST" or
"MRMT" MUST NOT include these tx-mode values in SDP.
sprop-sps, sprop-pps, sprop-vps, sprop-sei: H.265 allows sequence and picture information
to be sent both in-band and out-of-band. WebRTC implementations
MUST signal this information in-band. This means that WebRTC
implementations MUST NOT include these parameters in the SDP they
generate, and SHOULD silently ignore these parameters if they
are received. An IDR/CRA/BLA sent MUST always be preceded by the relevant
parameter sets sent in a packet (not necessarily a separate packet)
with the same RTP timestamp as the IDR/CRA/BLA.
When the use of the video orientation (CVO) RTP header extension is
not signaled as part of the SDP, H.265 implementations MAY send and
SHOULD support proper interpretation of Display Orientation SEI
messages.
Unless otherwise signaled, WebRTC implementations that support H.265 MUST encode
and decode pixels with an implied 1:1 (square) aspect ratio.
.in -0.3i
.NH 2
.R
Feedback
.in +0.3i
[RFC7798] Section 8.3 specifies the use of the Reference Picture Selection
Indication (RPSI) in H.265. Implementations MUST use the RPSI feedback
message only as a reference picture selection request, and MUST NOT use it
as positive acknowledgement. Receivers that detect that H.265 encoder-decoder
synchronization has been lost SHOULD generate an RPSI feedback message if
support for RPSI has been negotiated, unless the receiver has knowledge that
the sender does not support RPSI. Such knowledge can be established during
capability exchange or through previously sent RPSI requests that were
not replied to by the sender through the use of a non-IRAP picture.
An RTP packet-stream sender that receives an RPSI message MUST act
on that message, and SHOULD change the reference picture.
.in -0.3i
.NH 1
.R
Security Considerations
.in +0.3i
This document is subject to the security considerations described in
Section 7 of [RFC7742].
In addition to those security considerations, H.265 implementers
are advised to take note of the "Security Considerations" Section 9
of [RFC7798], including requirements pertaining to SEI messages.
.in -0.3i
.NH 1
.R
IANA Considerations
.in +0.3i
This document does not require actions by IANA.
.in -0.3i
.NH 1
.R
References
.NH 2
.R
Normative References
.IP [DD] 15
Alliance for Open Media (AoMedia), "Dependency Descriptor RTP Header Extension",
https://aomediacodec.github.io/av1-rtp-spec/#dependency-descriptor-rtp-header-extension,
retrieved September 19, 2023.
.IP [H.265]
ITU-T, "High efficiency video coding", ITU-T Recommendation H.265, April 2013.
.IP [RFC2119]
Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", BCP 14, RFC 2119,
DOI 10.17487/RFC2119, March 1997,
<https://www.rfc-editor.org/info/rfc2119>.
.IP [RFC3550]
Schulzrinne, H., Casner, S., Frederick, R., and V.
Jacobson, "RTP: A Transport Protocol for Real-Time
Applications", STD 64, RFC 3550, DOI 10.17487/RFC3550,
July 2003, <https://www.rfc-editor.org/info/rfc3550>.
.IP [RFC7742]
Roach, A. B., "WebRTC Video Processing and Codec Requirements",
RFC 7742, DOI 10.17487/RFC7742, March 2016,
<https://www.rfc-editor.org/info/rfc7742>.
.IP [RFC7798]
Wang, Y.K., Sanchez, Y., Schierl, T., Wenger, S. and M. M. Hannuksela,
"RTP Payload Format for High Efficiency Video Coding (HEVC)",
RFC 7798, DOI 10.17487/RFC7798, March 2016,
<https://www.rfc-editor.org/info/rfc7798>.
.IP [RFC8174]
Leiba, B., "Ambiguity of Uppercase vs Lowercase in RFC 2119 Key Words",
RFC 8174, DOI 10.17487/RFC8174, May 2017,
<https://www.rfc-editor.org/info/rfc8174>.
.bp
.NH 2
.R
Informative References
.IP [HEVC-WebKit] 15
Shin, S. Qiu, J. and J. Zhu, "WebRTC HEVC RFC 7798 RTP Payload Format Implementation",
https://github.com/WebKit/WebKit/pull/15494 (work in progress),
retrieved July 9, 2023.
.IP [HEVC-Chrome]
"Issue 13485: Need the support of H.265",
https://bugs.chromium.org/p/webrtc/issues/detail? id=13485 (work in progress),
submitted December 8, 2021.
.LP
Acknowledgments
.in +0.3i
We would like to thank Stephan Wenger, Jonathan Lennox, Harald Alvestrand,
Jianlin Qiu and Philip Eliasson for their discussions of this problem space.
.in -0.3i
Authors' Addresses
.in +0.3i
.nf
Bernard Aboba
Microsoft Corporation
One Microsoft Way
Redmond, WA 98052
United States of America
Email: [email protected]
Philipp Hancke
Facebook Inc.
Email: [email protected]
.fi
.in -0.3i