3. 编解码器要求 (Codec Requirements)
为确保 WebRTC 端点之间具备基线级别的互操作性, 以下规定了一组最低必需编解码器.
WebRTC 端点 REQUIRED 实现以下音频编解码器:
- Opus [RFC6716] with the payload format specified in [RFC7587].
- PCMA and PCMU (as specified in ITU-T Recommendation G.711 [G.711]) with the payload format specified in Section 4.5.14 of [RFC3551].
- [RFC3389] comfort noise (CN).
在端点能够处理采样率高于 8 kHz 的音频的所有情况下, RECOMMENDED 优先提供 Opus, 然后再提供 PCMA/PCMU.