RTCRtpEncodingParameters constructor

RTCRtpEncodingParameters({
  1. bool? active,
  2. num? maxBitrate,
  3. num? maxFramerate,
  4. RTCPriorityType? networkPriority,
  5. RTCPriorityType? priority,
  6. num? scaleResolutionDownBy,
  7. String? rid,
})

Implementation

factory RTCRtpEncodingParameters({
  _i2.bool? active,
  _i2.num? maxBitrate,
  _i2.num? maxFramerate,
  _i3.RTCPriorityType? networkPriority,
  _i3.RTCPriorityType? priority,
  _i2.num? scaleResolutionDownBy,
  _i2.String? rid,
}) =>
    RTCRtpEncodingParameters._(
      active: active,
      maxBitrate: maxBitrate,
      maxFramerate: maxFramerate,
      networkPriority: networkPriority?.name ?? _i6.undefined,
      priority: priority?.name ?? _i6.undefined,
      scaleResolutionDownBy: scaleResolutionDownBy,
      rid: rid,
    );