Skip to content

Commit

Permalink
Accept multiple codec strings for mp3 and h264
Browse files Browse the repository at this point in the history
This fixes #333.
  • Loading branch information
padenot committed Aug 12, 2021
1 parent 2ef514e commit 98cebe5
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 8 deletions.
15 changes: 8 additions & 7 deletions avc_codec_registration.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,21 @@
"title": "H.264 : Advanced video coding for generic audiovisual services",
"publisher": "ITU",
"date": "June 2019"
},
"iso14496-15": {
"href": "https://www.iso.org/standard/74429.html",
"title": "ISO/IEC 14496-15:2019 Information technology — Coding of audio-visual objects — Part 15: Carriage of network abstraction layer (NAL) unit structured video in the ISO base media file format",
"publisher": "ISO",
"date": "September 2019"
}
}
</pre>

Fully qualified codec strings {#fully-qualified-codec-strings}
==============================================================

The codec string begins with the prefix "avc1.", with a suffix of 6 characters
as described in Section 3.4 of [[rfc6381]].

NOTE: The common "avc3." prefix is intentionally not included. This prefix does
not signal a material difference to decoder inputs, so it is omitted for
simplification. For the purposes of this registration, authors should simply
map "avc3." to "avc1.".
The codec string begins with the prefix "avc1." or "avc3.", with a suffix of 6
characters as described respectively in Section 3.4 of [[rfc6381]] and Section 5.4.1 of [[iso14496-15]].

VideoDecoderConfig description {#videodecoderconfig-description}
================================================================
Expand Down
8 changes: 7 additions & 1 deletion mp3_codec_registration.src.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,13 @@
Fully qualified codec strings {#fully-qualified-codec-strings}
==============================================================

The codec string is `"mp3"`.
This codec has multiple possible codec strings:

- `"mp3"
- `"mp4a.69"`
- `"mp4a.6B"`
- `"mp4a.69"`


EncodedAudioChunk data {#encodedaudiochunk-data}
================================================
Expand Down

0 comments on commit 98cebe5

Please sign in to comment.