• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  *  Copyright (c) 2014 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 MODULES_REMOTE_BITRATE_ESTIMATOR_TOOLS_BWE_RTP_H_
12 #define MODULES_REMOTE_BITRATE_ESTIMATOR_TOOLS_BWE_RTP_H_
13 
14 #include <memory>
15 #include <string>
16 
17 namespace webrtc {
18 class Clock;
19 class RemoteBitrateEstimator;
20 class RemoteBitrateObserver;
21 class RtpHeaderParser;
22 namespace test {
23 class RtpFileReader;
24 }
25 }  // namespace webrtc
26 
27 std::unique_ptr<webrtc::RtpHeaderParser> ParseArgsAndSetupEstimator(
28     int argc,
29     char** argv,
30     webrtc::Clock* clock,
31     webrtc::RemoteBitrateObserver* observer,
32     std::unique_ptr<webrtc::test::RtpFileReader>* rtp_reader,
33     std::unique_ptr<webrtc::RemoteBitrateEstimator>* estimator,
34     std::string* estimator_used);
35 
36 #endif  // MODULES_REMOTE_BITRATE_ESTIMATOR_TOOLS_BWE_RTP_H_
37