Clarification about media2 AudioEncoder2Configuration #263
-
I'm a little confused about the AudioEncoder2Configuration in media2. The Profile T specification says "Encoding – The encoding used to compress audio. See the IANA MIME Type Name reference for a full list of values". And the spec links to https://www.iana.org/assignments/media-types/media-types.xhtml for a list of all of the values. But the xsd schema restricts this to a subset of only four values. This doesn't appear to be mentioned anywhere else, I'm wondering what I should be setting it to if I'm sending G.711A / PCMA format audio? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
See the annotation for AudioEncoder2ConfigurationOptions: "Audio Media Subtype for the audio format. For definitions see tt:AudioEncodingMimeNames and IANA Media Types." So basically both the IANA list and the enumarations in tt:AudioEncodingMimeNames can be used. Typically, tt:AudioEncodingMimeNames is used for special cases for backward compatiblity. |
Beta Was this translation helpful? Give feedback.
See the annotation for AudioEncoder2ConfigurationOptions: "Audio Media Subtype for the audio format. For definitions see tt:AudioEncodingMimeNames and IANA Media Types." So basically both the IANA list and the enumarations in tt:AudioEncodingMimeNames can be used. Typically, tt:AudioEncodingMimeNames is used for special cases for backward compatiblity.