Skip to content

Commit 35f20ed

Browse files
committed
add red, note that packetizer may depend on annex-b etc
1 parent 615fd4f commit 35f20ed

File tree

1 file changed

+21
-9
lines changed

1 file changed

+21
-9
lines changed

index.bs

Lines changed: 21 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ The <dfn abstract-op>writeEncodedData</dfn> algorithm is given a |rtcObject| as
155155

156156
On sender side, as part of [$readEncodedData$], frames produced by |rtcObject|'s encoder MUST be enqueued in |rtcObject|.`[[readable]]` in the encoder's output order.
157157
As [$writeEncodedData$] ensures that the transform cannot reorder frames, the encoder's output order is also the order followed by packetizers to generate RTP packets and assign RTP packet sequence numbers.
158+
The packetizer may expect the transformed data to still conform to the original format, e.g. a series of NAL units separated by Annex B start codecs.
158159

159160
On receiver side, as part of [$readEncodedData$], frames produced by |rtcObject|'s packetizer MUST be enqueued in |rtcObject|.`[[readable]]` in the same encoder's output order.
160161
To ensure the order is respected, the depacketizer will typically use RTP packet sequence numbers to reorder RTP packets as needed before enqueuing frames in |rtcObject|.`[[readable]]`.
@@ -457,9 +458,9 @@ interface RTCEncodedVideoFrame {
457458
<dd>
458459
<p>
459460
The encoded frame data. The format of the data depends on the video codec that is
460-
used to encode the frame which can be determined by looking at the
461-
{{RTCEncodedVideoFrameMetadata/mimeType}}. The following table defines this for
462-
a number of codecs.
461+
used to encode/decode the frame which can be determined by looking at the
462+
{{RTCEncodedVideoFrameMetadata/mimeType}}.
463+
The following table defines this for a number of codecs.
463464
</p>
464465
<table class="simple">
465466
<thead>
@@ -640,9 +641,9 @@ interface RTCEncodedAudioFrame {
640641
<dd>
641642
<p>
642643
The encoded frame data. The format of the data depends on the audio codec that is
643-
used to encode the frame which can be determined by looking at the
644-
{{RTCEncodedAudioFrameMetadata/mimeType}}. The following table defines this for
645-
a number of codecs.
644+
used to encode/decode the frame which can be determined by looking at the
645+
{{RTCEncodedAudioFrameMetadata/mimeType}}.
646+
The following table defines this for a number of codecs.
646647
</p>
647648
<table class="simple">
648649
<thead>
@@ -657,8 +658,8 @@ interface RTCEncodedAudioFrame {
657658
</td>
658659
<td>
659660
The data is Opus packets, as described in
660-
<a href="https://datatracker.ietf.org/doc/html/rfc6716#section-3">section 3</a>
661-
of [[RFC6716]].
661+
<a href="https://datatracker.ietf.org/doc/html/rfc6716#section-3">
662+
section 3</a> of [[RFC6716]].
662663
</td>
663664
</tr>
664665
<tr>
@@ -687,12 +688,23 @@ interface RTCEncodedAudioFrame {
687688
The data is G.722 audio as described in [[ITU-G.722]].
688689
</td>
689690
</tr>
691+
<tr>
692+
<td>
693+
audio/RED
694+
</td>
695+
<td>
696+
The data is Redundant Audio Data as described in
697+
<a href="https://www.rfc-editor.org/rfc/rfc2198#section-3">
698+
section 3</a> of [[RFC2198]].
699+
</td>
700+
</tr>
690701
<tr>
691702
<td>
692703
audio/CN
693704
</td>
694705
<td>
695-
The data is Comfort Noise as described in <a href="https://www.rfc-editor.org/rfc/rfc3389#section-3">
706+
The data is Comfort Noise as described in
707+
<a href="https://www.rfc-editor.org/rfc/rfc3389#section-3">
696708
section 3</a> of [[RFC3389]].
697709
</td>
698710
</tr>

0 commit comments

Comments
 (0)