| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2013 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 #include <algorithm> // max | 10 #include <algorithm> // max |
| (...skipping 227 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 return true; | 238 return true; |
| 239 } | 239 } |
| 240 void GetDataCounters(size_t* bytes_received, | 240 void GetDataCounters(size_t* bytes_received, |
| 241 uint32_t* packets_received) const override { | 241 uint32_t* packets_received) const override { |
| 242 *bytes_received = 0; | 242 *bytes_received = 0; |
| 243 *packets_received = 0; | 243 *packets_received = 0; |
| 244 } | 244 } |
| 245 void GetReceiveStreamDataCounters( | 245 void GetReceiveStreamDataCounters( |
| 246 StreamDataCounters* data_counters) const override {} | 246 StreamDataCounters* data_counters) const override {} |
| 247 uint32_t BitrateReceived() const override { return 0; } | 247 uint32_t BitrateReceived() const override { return 0; } |
| 248 void ResetStatistics() override {} | |
| 249 bool IsRetransmitOfOldPacket(const RTPHeader& header, | 248 bool IsRetransmitOfOldPacket(const RTPHeader& header, |
| 250 int64_t min_rtt) const override { | 249 int64_t min_rtt) const override { |
| 251 return false; | 250 return false; |
| 252 } | 251 } |
| 253 | 252 |
| 254 bool IsPacketInOrder(uint16_t sequence_number) const override { | 253 bool IsPacketInOrder(uint16_t sequence_number) const override { |
| 255 return true; | 254 return true; |
| 256 } | 255 } |
| 257 | 256 |
| 258 RtcpStatistics stats_; | 257 RtcpStatistics stats_; |
| (...skipping 1488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1747 const std::vector<VideoReceiveStream*>& receive_streams) override { | 1746 const std::vector<VideoReceiveStream*>& receive_streams) override { |
| 1748 send_stream_ = send_stream; | 1747 send_stream_ = send_stream; |
| 1749 } | 1748 } |
| 1750 | 1749 |
| 1751 VideoSendStream* send_stream_; | 1750 VideoSendStream* send_stream_; |
| 1752 } test; | 1751 } test; |
| 1753 | 1752 |
| 1754 RunBaseTest(&test); | 1753 RunBaseTest(&test); |
| 1755 } | 1754 } |
| 1756 } // namespace webrtc | 1755 } // namespace webrtc |
| OLD | NEW |