toRTCRtpEncoding method

RTCRtpEncoding toRTCRtpEncoding(
  1. {String? rid,
  2. double? scaleResolutionDownBy = 1.0,
  3. int? numTemporalLayers}
)

Implementation

rtc.RTCRtpEncoding toRTCRtpEncoding({
  String? rid,
  double? scaleResolutionDownBy = 1.0,
  int? numTemporalLayers,
}) =>
    rtc.RTCRtpEncoding(
      rid: rid,
      scaleResolutionDownBy: scaleResolutionDownBy,
      maxFramerate: maxFramerate,
      maxBitrate: maxBitrate,
      numTemporalLayers: numTemporalLayers,
    );