VideoSender constructor
VideoSender({
- VideoMediaRequest? mediaRequest,
- Codec? codec,
- Iterable<
VideoLayerSetting> ? layers,
Implementation
factory VideoSender({
VideoMediaRequest? mediaRequest,
$0.Codec? codec,
$core.Iterable<VideoLayerSetting>? layers,
}) {
final _result = create();
if (mediaRequest != null) {
_result.mediaRequest = mediaRequest;
}
if (codec != null) {
_result.codec = codec;
}
if (layers != null) {
_result.layers.addAll(layers);
}
return _result;
}