open-webrtc-toolkit / owt-client-native

Open WebRTC Toolkit client SDK for native Windows/Linux/iOS applications.
https://01.org/open-webrtc-toolkit
Apache License 2.0
392 stars 181 forks source link

Add CustomizedOutputAudioDeviceModule. #669

Closed jianjunz closed 1 year ago

jianjunz commented 1 year ago

This allows audio data received to be routed to implementations of AudioPlayerInterface without depending on platform audio module.

jianjunz commented 1 year ago

This change is similar as https://github.com/open-webrtc-toolkit/owt-deps-webrtc/commit/a0d3e1d90172cbde0295fa764c2618f16192fb05. But instead of modifying FakeAudioDevice, this change implements a new class inherited from FakeAudioDevice.