blob: e37ff55dd4b4dc917358f2ed3b7596e5750c48f6 [file] [log] [blame]
Ivo Creusen55de08e2018-09-03 11:49:27 +02001/*
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
11#ifndef API_TEST_NETEQ_SIMULATOR_FACTORY_H_
12#define API_TEST_NETEQ_SIMULATOR_FACTORY_H_
13
14#include <memory>
15
16#include "api/test/neteq_simulator.h"
17
18namespace webrtc {
19namespace test {
20
21class NetEqTestFactory;
22
23class NetEqSimulatorFactory {
24 public:
25 NetEqSimulatorFactory();
26 ~NetEqSimulatorFactory();
27 // This function takes the same arguments as the neteq_rtpplay utility.
28 std::unique_ptr<NetEqSimulator> CreateSimulator(int argc, char* argv[]);
29
30 private:
31 std::unique_ptr<NetEqTestFactory> factory_;
32};
33
34} // namespace test
35} // namespace webrtc
36
37#endif // API_TEST_NETEQ_SIMULATOR_FACTORY_H_