RTCRtpEncodingParameters constructor

RTCRtpEncodingParameters({
  1. bool? active,
  2. int? maxBitrate,
  3. double? scaleResolutionDownBy,
})

Implementation

factory RTCRtpEncodingParameters(
        {bool? active, int? maxBitrate, double? scaleResolutionDownBy}) =>
    RTCRtpEncodingParameters._(
        active: active ?? true,
        maxBitrate: maxBitrate ?? undefined,
        scaleResolutionDownBy: scaleResolutionDownBy ?? undefined);