OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2016 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/call/flexfec_receive_stream_impl.h" | 11 #include "webrtc/call/flexfec_receive_stream_impl.h" |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
15 #include "webrtc/base/checks.h" | |
16 #include "webrtc/base/location.h" | |
17 #include "webrtc/base/logging.h" | |
18 #include "webrtc/call/rtp_stream_receiver_controller_interface.h" | 15 #include "webrtc/call/rtp_stream_receiver_controller_interface.h" |
19 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" | 16 #include "webrtc/modules/rtp_rtcp/include/flexfec_receiver.h" |
20 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" | 17 #include "webrtc/modules/rtp_rtcp/include/receive_statistics.h" |
21 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" | 18 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp.h" |
22 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" | 19 #include "webrtc/modules/rtp_rtcp/source/rtp_packet_received.h" |
23 #include "webrtc/modules/utility/include/process_thread.h" | 20 #include "webrtc/modules/utility/include/process_thread.h" |
| 21 #include "webrtc/rtc_base/checks.h" |
| 22 #include "webrtc/rtc_base/location.h" |
| 23 #include "webrtc/rtc_base/logging.h" |
24 #include "webrtc/system_wrappers/include/clock.h" | 24 #include "webrtc/system_wrappers/include/clock.h" |
25 | 25 |
26 namespace webrtc { | 26 namespace webrtc { |
27 | 27 |
28 std::string FlexfecReceiveStream::Stats::ToString(int64_t time_ms) const { | 28 std::string FlexfecReceiveStream::Stats::ToString(int64_t time_ms) const { |
29 std::stringstream ss; | 29 std::stringstream ss; |
30 ss << "FlexfecReceiveStream stats: " << time_ms | 30 ss << "FlexfecReceiveStream stats: " << time_ms |
31 << ", {flexfec_bitrate_bps: " << flexfec_bitrate_bps << "}"; | 31 << ", {flexfec_bitrate_bps: " << flexfec_bitrate_bps << "}"; |
32 return ss.str(); | 32 return ss.str(); |
33 } | 33 } |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 started_ = false; | 200 started_ = false; |
201 } | 201 } |
202 | 202 |
203 // TODO(brandtr): Implement this member function when we have designed the | 203 // TODO(brandtr): Implement this member function when we have designed the |
204 // stats for FlexFEC. | 204 // stats for FlexFEC. |
205 FlexfecReceiveStreamImpl::Stats FlexfecReceiveStreamImpl::GetStats() const { | 205 FlexfecReceiveStreamImpl::Stats FlexfecReceiveStreamImpl::GetStats() const { |
206 return FlexfecReceiveStream::Stats(); | 206 return FlexfecReceiveStream::Stats(); |
207 } | 207 } |
208 | 208 |
209 } // namespace webrtc | 209 } // namespace webrtc |
OLD | NEW |