getDisplayMedia static method
- @Deprecated('Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the factory instead')
Future<MediaStream>
getDisplayMedia(
- Map<String, dynamic> mediaConstraints
)
Implementation
@Deprecated(
'Use the navigator.mediaDevices.getDisplayMedia(Map<String, dynamic>) provide from the factory instead')
static Future<MediaStream> getDisplayMedia(
Map<String, dynamic> mediaConstraints) async {
return navigator.mediaDevices.getDisplayMedia(mediaConstraints);
}