flutter-webrtc
flutter-webrtc copied to clipboard
[Mac, iPad, iPhone] enumerateDevices does not load audio outputs
Flutter 3.0.5
Calling this function await navigator.mediaDevices.enumerateDevices()
Does not produce audio outputs
We have no way to switch audio-outputs for multiple reasons
Think apps that play media (very common)
Apps that do WebRTC
Apps that are music players
Etc
!!! Have not tested on Windows/Android or Web
I wasn't sure if this was a native flutter issue or this library, so also logged it here: https://github.com/flutter/flutter/issues/108874
This PR fixes audio outputs device enumeration on macOS/Windows/Android.
https://github.com/flutter-webrtc/flutter-webrtc/pull/1030
This PR fixes audio outputs device enumeration on macOS/Windows/Android.
#1030
@cloudwebrtc Wondering why iOS is not here. Does device enumeration work out-of-the-box for iOS?
Thanks.
@BFamzz Not yet implemented on iOS
https://github.com/webrtc-sdk/webrtc/blob/m104_release/sdk/objc/native/src/audio/audio_device_ios.mm#L1204
Alright @cloudwebrtc
Thanks.