RTCRtpTransceiverInit constructor

RTCRtpTransceiverInit({
  1. RTCRtpTransceiverDirection? direction,
  2. List<RTCRtpEncodingParameters>? sendEncodings,
  3. List<MediaStream>? streams,
})

Implementation

factory RTCRtpTransceiverInit({
  _i3.RTCRtpTransceiverDirection? direction,
  _i2.List<_i3.RTCRtpEncodingParameters>? sendEncodings,
  _i2.List<_i3.MediaStream>? streams,
}) =>
    RTCRtpTransceiverInit._(
      direction: direction?.name ?? _i6.undefined,
      sendEncodings: sendEncodings,
      streams: streams,
    );