ProtoRtpCapabilities constructor
ProtoRtpCapabilities({
- Iterable<
ProtoRtpCodecCapability> ? codecs, - Iterable<
ProtoRtpHeaderExtension> ? headerExtensions,
Implementation
factory ProtoRtpCapabilities({
$core.Iterable<ProtoRtpCodecCapability>? codecs,
$core.Iterable<ProtoRtpHeaderExtension>? headerExtensions,
}) {
final $result = create();
if (codecs != null) {
$result.codecs.addAll(codecs);
}
if (headerExtensions != null) {
$result.headerExtensions.addAll(headerExtensions);
}
return $result;
}