MediaStreamConstraints constructor

MediaStreamConstraints({
  1. Object? audio,
  2. String? peerIdentity,
  3. bool? preferCurrentTab,
  4. Object? video,
})

Implementation

factory MediaStreamConstraints({
  _i2.Object? audio,
  _i2.String? peerIdentity,
  _i2.bool? preferCurrentTab,
  _i2.Object? video,
}) =>
    MediaStreamConstraints._(
      audio: audio ?? _i6.undefined,
      peerIdentity: peerIdentity,
      preferCurrentTab: preferCurrentTab,
      video: video ?? _i6.undefined,
    );