ProtoCodecParameters constructor
ProtoCodecParameters({})
Implementation
factory ProtoCodecParameters({
$core.String? mimeType,
$core.int? payloadType,
$core.int? clockRate,
$core.int? channels,
$core.Map<$core.String, $core.String>? parameters,
$core.Iterable<ProtoRtcpFeedback>? rtcpFeedback,
}) {
final $result = create();
if (mimeType != null) {
$result.mimeType = mimeType;
}
if (payloadType != null) {
$result.payloadType = payloadType;
}
if (clockRate != null) {
$result.clockRate = clockRate;
}
if (channels != null) {
$result.channels = channels;
}
if (parameters != null) {
$result.parameters.addAll(parameters);
}
if (rtcpFeedback != null) {
$result.rtcpFeedback.addAll(rtcpFeedback);
}
return $result;
}