RTCRtpParameters constructor

RTCRtpParameters({
  1. List<RTCRtpCodecParameters>? codecs,
  2. List<RTCRtpHeaderExtensionParameters>? headerExtensions,
  3. RTCRtcpParameters? rtcp,
})

Implementation

factory RTCRtpParameters({
  _i2.List<_i3.RTCRtpCodecParameters>? codecs,
  _i2.List<_i3.RTCRtpHeaderExtensionParameters>? headerExtensions,
  _i3.RTCRtcpParameters? rtcp,
}) =>
    RTCRtpParameters._(
      codecs: codecs,
      headerExtensions: headerExtensions,
      rtcp: rtcp ?? _i6.undefined,
    );