Audio device logging.

This commit is contained in:
Nicholas Tinsley
2024-07-16 17:57:05 -04:00
parent 10ad73f201
commit 34c95dc082

View File

@@ -49,6 +49,7 @@ class WebRtcAudioPicker31(private val audioOutputChangedListener: OnAudioOutputC
@RequiresApi(31)
val onAudioDeviceSelected: (AudioOutputOption) -> Unit = {
Log.d(TAG, "User selected audio device of type ${it.deviceType}")
audioOutputChangedListener.audioOutputChanged(WebRtcAudioDevice(it.toWebRtcAudioOutput(), it.deviceId))
when (it.deviceType) {