blob: 1f67ce69f147fcdf07cce58ca1a7a7fbdd35f905 [file] [log] [blame]
Artem Titovb6c62012019-01-08 14:58:23 +01001/*
2 * Copyright (c) 2018 The WebRTC project authors. All Rights Reserved.
3 *
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
9 */
10
Artem Titovd57628f2019-03-22 12:34:25 +010011#ifndef API_TEST_AUDIO_QUALITY_ANALYZER_INTERFACE_H_
12#define API_TEST_AUDIO_QUALITY_ANALYZER_INTERFACE_H_
Artem Titovb6c62012019-01-08 14:58:23 +010013
Artem Titovd57628f2019-03-22 12:34:25 +010014#include <string>
15
16#include "api/test/stats_observer_interface.h"
Artem Titovb6c62012019-01-08 14:58:23 +010017
Mirko Bonadei12ae4f42019-02-26 15:19:07 +010018namespace webrtc {
Artem Titov0b443142019-03-20 11:11:08 +010019namespace webrtc_pc_e2e {
Mirko Bonadei12ae4f42019-02-26 15:19:07 +010020
Artem Titovd57628f2019-03-22 12:34:25 +010021// API is in development. Can be changed/removed without notice.
Mirko Bonadei12ae4f42019-02-26 15:19:07 +010022class AudioQualityAnalyzerInterface : public StatsObserverInterface {
Artem Titovebd97702019-01-09 17:55:36 +010023 public:
Mirko Bonadei12ae4f42019-02-26 15:19:07 +010024 ~AudioQualityAnalyzerInterface() override = default;
Artem Titov59835852019-02-27 17:44:13 +010025
26 // Will be called by framework before test.
27 // |test_case_name| is name of test case, that should be used to report all
28 // audio metrics.
29 virtual void Start(std::string test_case_name) = 0;
Artem Titovebd97702019-01-09 17:55:36 +010030};
Artem Titovb6c62012019-01-08 14:58:23 +010031
Artem Titov0b443142019-03-20 11:11:08 +010032} // namespace webrtc_pc_e2e
Artem Titovb6c62012019-01-08 14:58:23 +010033} // namespace webrtc
34
Artem Titovd57628f2019-03-22 12:34:25 +010035#endif // API_TEST_AUDIO_QUALITY_ANALYZER_INTERFACE_H_