Fix some chromium style warnings in remote_bitrate_estimator.h
BUG=webrtc:163 Review-Url: https://codereview.webrtc.org/2387113008 Cr-Commit-Position: refs/heads/master@{#14737}
This commit is contained in:
parent
d7ce668287
commit
c22bcf4f4b
@ -64,6 +64,11 @@ class WrappingBitrateEstimator : public RemoteBitrateEstimator {
|
||||
|
||||
virtual ~WrappingBitrateEstimator() {}
|
||||
|
||||
void IncomingPacketFeedbackVector(
|
||||
const std::vector<PacketInfo>& packet_feedback_vector) override {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
void IncomingPacket(int64_t arrival_time_ms,
|
||||
size_t payload_size,
|
||||
const RTPHeader& header) override {
|
||||
|
||||
@ -45,12 +45,10 @@ struct ReceiveBandwidthEstimatorStats {};
|
||||
class RemoteBitrateEstimator : public CallStatsObserver, public Module {
|
||||
public:
|
||||
static const int kDefaultMinBitrateBps = 30000;
|
||||
virtual ~RemoteBitrateEstimator() {}
|
||||
~RemoteBitrateEstimator() override {}
|
||||
|
||||
virtual void IncomingPacketFeedbackVector(
|
||||
const std::vector<PacketInfo>& packet_feedback_vector) {
|
||||
assert(false);
|
||||
}
|
||||
const std::vector<PacketInfo>& packet_feedback_vector) = 0;
|
||||
|
||||
// Called for each incoming packet. Updates the incoming payload bitrate
|
||||
// estimate and the over-use detector. If an over-use is detected the
|
||||
|
||||
@ -69,6 +69,11 @@ RemoteBitrateEstimatorSingleStream::~RemoteBitrateEstimatorSingleStream() {
|
||||
}
|
||||
}
|
||||
|
||||
void RemoteBitrateEstimatorSingleStream::IncomingPacketFeedbackVector(
|
||||
const std::vector<PacketInfo>& packet_feedback_vector) {
|
||||
assert(false);
|
||||
}
|
||||
|
||||
void RemoteBitrateEstimatorSingleStream::IncomingPacket(
|
||||
int64_t arrival_time_ms,
|
||||
size_t payload_size,
|
||||
|
||||
@ -29,6 +29,8 @@ class RemoteBitrateEstimatorSingleStream : public RemoteBitrateEstimator {
|
||||
Clock* clock);
|
||||
virtual ~RemoteBitrateEstimatorSingleStream();
|
||||
|
||||
void IncomingPacketFeedbackVector(
|
||||
const std::vector<PacketInfo>& packet_feedback_vector) override;
|
||||
void IncomingPacket(int64_t arrival_time_ms,
|
||||
size_t payload_size,
|
||||
const RTPHeader& header) override;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user