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;
}