PSA: Now possible for audio encoders and decoders to cooperate

136 views
Skip to first unread message

Karl Wiberg

unread,
Mar 24, 2018, 3:39:46 AM3/24/18
to discuss...@googlegroups.com
WebRTC now passes "audio codec pair IDs" to audio codec factories when they create codec instances. The intended use case is to allow factory implementations to connect audio decoder and audio encoder instances that talk to the same remote party; some codecs can make use of such a connection to let the encoder and decoder collaborate in order to do bandwidth adaptation.

Docs for AudioEncoderFactory and AudioDecoderFactory. Test that demonstrates how this can be hooked up.

The old AudioEncoderFactory::MakeAudioEncoder and AudioDecoderFactory::MakeAudioDecoder overloads that don't take an AudioCodecPairId argument are deprecated; I'll remove them two weeks from now. Implementations of these two interfaces have until then to update. Bug.

--
Karl Wiberg    Software Engineer    kwi...@google.com    +46 70 696 1024


Karl Wiberg

unread,
Jun 1, 2018, 7:30:57 PM6/1/18
to discuss...@googlegroups.com
Two weeks have now passed (or possibly slightly more, but who's counting?), so I've landed a CL that removes the old AudioEncoderFactory::MakeAudioEncoder and AudioDecoderFactory::MakeAudioDecoder overloads that don't take an AudioCodecPairId argument.
Reply all
Reply to author
Forward
0 new messages