/* * Copyright (c) 2019 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 TEST_PC_E2E_ANALYZER_VIDEO_EXAMPLE_VIDEO_QUALITY_ANALYZER_H_ #define TEST_PC_E2E_ANALYZER_VIDEO_EXAMPLE_VIDEO_QUALITY_ANALYZER_H_ #include <atomic> #include <map> #include <set> #include <string> #include "api/array_view.h" #include "api/test/video_quality_analyzer_interface.h" #include "api/video/encoded_image.h" #include "api/video/video_frame.h" #include "rtc_base/synchronization/mutex.h" namespace webrtc { // This class is an example implementation of // webrtc::VideoQualityAnalyzerInterface and calculates simple metrics // just to demonstration purposes. Assumed to be used in the single process // test cases, where both peers are in the same process. class ExampleVideoQualityAnalyzer : public VideoQualityAnalyzerInterface { … }; } // namespace webrtc #endif // TEST_PC_E2E_ANALYZER_VIDEO_EXAMPLE_VIDEO_QUALITY_ANALYZER_H_