getUserMedia static method

  1. @Deprecated('Use the navigator.mediaDevices.getUserMedia(Map<String, dynamic>) provide from the factory instead')
Future<MediaStream> getUserMedia(
  1. Map<String, dynamic> mediaConstraints
)

Implementation

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