/* * Copyright 2020 The WebRTC Project Authors. All rights reserved. * * Use of this source code is governed by a BSD-style license * that can be found in the LICENSE file in the root of the source * tree. An additional intellectual property rights grant can be found * in the file PATENTS. All contributing project authors may * be found in the AUTHORS file in the root of the source tree. */ #ifndef VIDEO_VIDEO_SOURCE_SINK_CONTROLLER_H_ #define VIDEO_VIDEO_SOURCE_SINK_CONTROLLER_H_ #include <string> #include <vector> #include "absl/types/optional.h" #include "api/sequence_checker.h" #include "api/video/video_frame.h" #include "api/video/video_sink_interface.h" #include "api/video/video_source_interface.h" #include "call/adaptation/video_source_restrictions.h" #include "rtc_base/system/no_unique_address.h" namespace webrtc { // Responsible for configuring source/sink settings, i.e. performing // rtc::VideoSourceInterface<VideoFrame>::AddOrUpdateSink(). It does this by // storing settings internally which are converted to rtc::VideoSinkWants when // PushSourceSinkSettings() is performed. class VideoSourceSinkController { … }; } // namespace webrtc #endif // VIDEO_VIDEO_SOURCE_SINK_CONTROLLER_H_