PSA: Removing deprecated CreatePeerConnectionFactory() overloads

96 views
Skip to first unread message

Karl Wiberg

unread,
Oct 18, 2017, 5:15:58 AM10/18/17
to discuss...@googlegroups.com
In about two weeks, I plan to land this CL, which removes three CreatePeerConnectionFactory() overloads and one CreatePeerConnectionFactoryWithAudioMixer() overload—precisely the ones that don't take explicit AudioEncoderFactory and AudioDecoderFactory arguments.

In order to keep exactly the current behavior, call CreateBuiltinAudioEncoderFactory() and CreateBuiltinAudioDecoderFactory() and pass in their return values. However, if you want control of the set of codecs being used, you also have the option to use CreateAudioEncoderFactory<...>() and CreateAudioDecoderFactory<...>() instead. (The ... in the template parameters is where you explicitly list the codecs that you want.)

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

Reply all
Reply to author
Forward
0 new messages