OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 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 | 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 | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #include "webrtc/modules/remote_bitrate_estimator/tools/bwe_rtp.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/tools/bwe_rtp.h" |
12 | 12 |
13 #include <sstream> | 13 #include <sstream> |
14 #include <stdio.h> | 14 #include <stdio.h> |
15 #include <string> | 15 #include <string> |
16 | 16 |
17 #include "gflags/gflags.h" | 17 #include "gflags/gflags.h" |
18 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s
end_time.h" | 18 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_abs_s
end_time.h" |
19 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_singl
e_stream.h" | 19 #include "webrtc/modules/remote_bitrate_estimator/remote_bitrate_estimator_singl
e_stream.h" |
20 #include "webrtc/modules/rtp_rtcp/interface/rtp_header_parser.h" | 20 #include "webrtc/modules/rtp_rtcp/include/rtp_header_parser.h" |
21 #include "webrtc/modules/rtp_rtcp/interface/rtp_payload_registry.h" | 21 #include "webrtc/modules/rtp_rtcp/include/rtp_payload_registry.h" |
22 #include "webrtc/test/rtp_file_reader.h" | 22 #include "webrtc/test/rtp_file_reader.h" |
23 | 23 |
24 namespace flags { | 24 namespace flags { |
25 | 25 |
26 DEFINE_string(extension_type, | 26 DEFINE_string(extension_type, |
27 "abs", | 27 "abs", |
28 "Extension type, either abs for absolute send time or tsoffset " | 28 "Extension type, either abs for absolute send time or tsoffset " |
29 "for timestamp offset."); | 29 "for timestamp offset."); |
30 std::string ExtensionType() { | 30 std::string ExtensionType() { |
31 return static_cast<std::string>(FLAGS_extension_type); | 31 return static_cast<std::string>(FLAGS_extension_type); |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 new webrtc::RemoteBitrateEstimatorSingleStream(observer, clock); | 124 new webrtc::RemoteBitrateEstimatorSingleStream(observer, clock); |
125 *estimator_used = "RemoteBitrateEstimator"; | 125 *estimator_used = "RemoteBitrateEstimator"; |
126 break; | 126 break; |
127 } | 127 } |
128 default: | 128 default: |
129 assert(false); | 129 assert(false); |
130 } | 130 } |
131 } | 131 } |
132 return true; | 132 return true; |
133 } | 133 } |
OLD | NEW |