ProtoEncodings constructor
ProtoEncodings({})
Implementation
factory ProtoEncodings({
$fixnum.Int64? ssrc,
$core.String? rid,
$core.int? codecPayloadType,
ProtoEncodings_ProtoRTX? rtx,
$core.bool? dtx,
$core.String? scalabilityMode,
$core.int? scaleResolutionDownBy,
$core.int? maxBitrate,
$core.bool? active,
$core.int? maxFramerate,
}) {
final $result = create();
if (ssrc != null) {
$result.ssrc = ssrc;
}
if (rid != null) {
$result.rid = rid;
}
if (codecPayloadType != null) {
$result.codecPayloadType = codecPayloadType;
}
if (rtx != null) {
$result.rtx = rtx;
}
if (dtx != null) {
$result.dtx = dtx;
}
if (scalabilityMode != null) {
$result.scalabilityMode = scalabilityMode;
}
if (scaleResolutionDownBy != null) {
$result.scaleResolutionDownBy = scaleResolutionDownBy;
}
if (maxBitrate != null) {
$result.maxBitrate = maxBitrate;
}
if (active != null) {
$result.active = active;
}
if (maxFramerate != null) {
$result.maxFramerate = maxFramerate;
}
return $result;
}