ProtoRtpCodecCapability constructor
ProtoRtpCodecCapability({})
Implementation
factory ProtoRtpCodecCapability({
$core.String? kind,
$core.String? mimeType,
$core.int? preferredPayloadType,
$core.int? clockRate,
$core.int? channels,
$core.Map<$core.String, $core.String>? parameters,
$core.Iterable<ProtoRtpCodecCapability_ProtoRtcpFeedback>? rtcpFeedback,
}) {
final $result = create();
if (kind != null) {
$result.kind = kind;
}
if (mimeType != null) {
$result.mimeType = mimeType;
}
if (preferredPayloadType != null) {
$result.preferredPayloadType = preferredPayloadType;
}
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;
}