OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2017 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 |
| 12 #include "webrtc/modules/remote_bitrate_estimator/test/estimators/bbr.h" |
| 13 |
| 14 #include <time.h> |
| 15 #include <algorithm> |
| 16 #include <utility> |
| 17 |
| 18 #include "webrtc/base/logging.h" |
| 19 #include "webrtc/modules/congestion_controller/delay_based_bwe.h" |
| 20 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
| 21 |
| 22 namespace webrtc { |
| 23 namespace testing { |
| 24 namespace bwe { |
| 25 BbrBweSender::BbrBweSender() : BweSender() { |
| 26 // Initially enter Startup mode. |
| 27 EnterStartup(); |
| 28 } |
| 29 |
| 30 BbrBweSender::~BbrBweSender() {} |
| 31 |
| 32 int BbrBweSender::GetFeedbackIntervalMs() const { |
| 33 return 0; |
| 34 } |
| 35 |
| 36 void BbrBweSender::GiveFeedback(const FeedbackPacket& feedback) {} |
| 37 |
| 38 bool BbrBweSender::UpdateBandwidthAndMinRtt() { |
| 39 return false; |
| 40 } |
| 41 |
| 42 void BbrBweSender::EnterStartup() {} |
| 43 |
| 44 void BbrBweSender::TryExitingStartup() {} |
| 45 |
| 46 void BbrBweSender::TryExitingDrain(int64_t now) {} |
| 47 |
| 48 void BbrBweSender::EnterProbeBw(int64_t now) {} |
| 49 |
| 50 void BbrBweSender::TryUpdatingCyclePhase(int64_t now) {} |
| 51 |
| 52 void BbrBweSender::EnterProbeRtt(int64_t now) {} |
| 53 |
| 54 void BbrBweSender::TryExitingProbeRtt(int64_t now) {} |
| 55 |
| 56 int64_t BbrBweSender::TimeUntilNextProcess() { |
| 57 return 100; |
| 58 } |
| 59 |
| 60 void BbrBweSender::OnPacketsSent(const Packets& packets) {} |
| 61 |
| 62 void BbrBweSender::Process() {} |
| 63 |
| 64 BbrBweReceiver::BbrBweReceiver(int flow_id) |
| 65 : BweReceiver(flow_id, kReceivingRateTimeWindowMs), |
| 66 clock_(0), |
| 67 packet_feedbacks_() {} |
| 68 |
| 69 BbrBweReceiver::~BbrBweReceiver() {} |
| 70 |
| 71 void BbrBweReceiver::ReceivePacket(int64_t arrival_time_ms, |
| 72 const MediaPacket& media_packet) {} |
| 73 |
| 74 FeedbackPacket* BbrBweReceiver::GetFeedback(int64_t now_ms) { |
| 75 return nullptr; |
| 76 } |
| 77 } // namespace bwe |
| 78 } // namespace testing |
| 79 } // namespace webrtc |
OLD | NEW |