RTCRtpEncodingParameters constructor
RTCRtpEncodingParameters({
- bool? active,
- num? maxBitrate,
- num? maxFramerate,
- RTCPriorityType? networkPriority,
- RTCPriorityType? priority,
- num? scaleResolutionDownBy,
- 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,
);