Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有人尝试更改 WebRTC 中的音频帧大小?它使用 10ms 帧。我需要一个不同的尺寸,而且代码看起来没有希望......
从根本上说,你没有理由不能使用非 10 毫秒的帧,但大部分代码都是在这个假设下编写的。改变它确实可能是一项严肃的工作。
在设备上您可以使用其他音频帧(例如 20,40ms)。对于编解码器,您可以使用其他音频帧,因为编解码器有一个音频缓冲区。我使用了 Silk 编解码器和 ios 设备。