RTCRtpSendParameters constructor

RTCRtpSendParameters({
  1. RTCDegradationPreference? degradationPreference,
  2. List<RTCRtpEncodingParameters>? encodings,
  3. String? transactionId,
  4. List<RTCRtpCodecParameters>? codecs,
  5. List<RTCRtpHeaderExtensionParameters>? headerExtensions,
  6. RTCRtcpParameters? rtcp,
})

Implementation

factory RTCRtpSendParameters({
  _i3.RTCDegradationPreference? degradationPreference,
  _i2.List<_i3.RTCRtpEncodingParameters>? encodings,
  _i2.String? transactionId,
  _i2.List<_i3.RTCRtpCodecParameters>? codecs,
  _i2.List<_i3.RTCRtpHeaderExtensionParameters>? headerExtensions,
  _i3.RTCRtcpParameters? rtcp,
}) =>
    RTCRtpSendParameters._(
      degradationPreference: degradationPreference?.name ?? _i6.undefined,
      encodings: encodings,
      transactionId: transactionId,
      codecs: codecs,
      headerExtensions: headerExtensions,
      rtcp: rtcp ?? _i6.undefined,
    );