File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 11import 'dart:async' ;
22import 'dart:html' as html;
3+ import 'dart:html_common' ;
34import 'dart:js' as js;
45import 'dart:js_util' as jsutil;
56import 'package:webrtc_interface/webrtc_interface.dart' ;
@@ -160,7 +161,7 @@ class MediaDevicesWeb extends MediaDevices {
160161 throw UnimplementedError ('selectAudioOutput is missing' );
161162 }
162163 } catch (e) {
163- throw 'Unable to selectAudioOutput: ${e .toString ()}' ;
164+ throw 'Unable to selectAudioOutput: ${e .toString ()}, Please try to use MediaElement.setSinkId instead. ' ;
164165 }
165166 }
166167
@@ -187,5 +188,6 @@ class MediaDevicesWeb extends MediaDevices {
187188 } catch (e) {
188189 throw 'Unable to get ondevicechange: ${e .toString ()}' ;
189190 }
191+ return null ;
190192 }
191193}
You can’t perform that action at this time.
0 commit comments