ProtoEncodings constructor

ProtoEncodings({
  1. Int64? ssrc,
  2. String? rid,
  3. int? codecPayloadType,
  4. ProtoEncodings_ProtoRTX? rtx,
  5. bool? dtx,
  6. String? scalabilityMode,
  7. int? scaleResolutionDownBy,
  8. int? maxBitrate,
  9. bool? active,
  10. int? maxFramerate,
})

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;
}