AudioSink Compatibility with Custom AudioDevice
cyodrew opened this issue · 2 comments
Before filing an issue please check that the issue is not already addressed by the following:
Please ensure that you are not sharing any
Personally Identifiable Information(PII)
or sensitive account information (API keys, credentials, etc.) when reporting an issue.
Description
Adding an AudioSink
on an AudioTrack
does not seem to work when using a custom AudioDevice
. By default, the DefaultAudioDevice
is used by the system if one isn't specified and AudioSink
callback works as expected. Are these features not compatible?
Steps to Reproduce
- Create an
AudioDevice
and add it to the Room prior to connecting viaVideo.setAudioDevice
- Add an
AudioSink
to anAudioTrack
- Observe that the callback
renderSample
is not invoked after connecting to the Room.
Code
This can be recreated by adding an AudioSink to the example custom audio device project.
Expected Behavior
The renderSample
callback is invoked.
Actual Behavior
The renderSample
callback is not invoked.
Reproduces how Often
100%
Logs
N/A
Versions
N/A
Video Android SDK
7.3.1
Android API
33
Android Device
Pixel 7 Pro
Thank you for the detailed bug report. We are in the midst of a significant release (upgrading webrtc) and as soon as that is complete we will verify if this is still an issue. Feel free to verify yourself upon the release.
Hi @cyodrew the issue is fixed with the Video Android SDK 7.6.1, works as expected and callbacks from the AudioSink are invoked when using custom AudioDevice. cc @afalls-twilio