Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / webrtc / modules / remote_bitrate_estimator / tools / bwe_rtp.h
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 WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TOOLS_BWE_RTP_H_
12 #define WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TOOLS_BWE_RTP_H_
13
14 #include <string>
15
16 namespace webrtc {
17 class Clock;
18 class RemoteBitrateEstimator;
19 class RemoteBitrateObserver;
20 class RtpHeaderParser;
21 namespace rtpplayer {
22 class RtpPacketSourceInterface;
23 }
24 }
25
26 bool ParseArgsAndSetupEstimator(
27     int argc,
28     char** argv,
29     webrtc::Clock* clock,
30     webrtc::RemoteBitrateObserver* observer,
31     webrtc::rtpplayer::RtpPacketSourceInterface** rtp_reader,
32     webrtc::RtpHeaderParser** parser,
33     webrtc::RemoteBitrateEstimator** estimator,
34     std::string* estimator_used);
35
36 #endif  // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TOOLS_BWE_RTP_H_