VideoSender constructor

VideoSender({
  1. VideoMediaRequest? mediaRequest,
  2. Codec? codec,
  3. 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;
}