Delete unused stats for preferred_bitrate.
Bug: webrtc:8830 Change-Id: Iaa30488255f2e09e269274136d370740cd030902 Reviewed-on: https://webrtc-review.googlesource.com/78880 Reviewed-by: Erik Språng <sprang@webrtc.org> Reviewed-by: Magnus Jedvert <magjed@webrtc.org> Commit-Queue: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#23529}
This commit is contained in:
@ -228,10 +228,6 @@ SimulcastRateAllocator::ScreenshareTemporalLayerAllocation(
|
||||
return allocation;
|
||||
}
|
||||
|
||||
uint32_t SimulcastRateAllocator::GetPreferredBitrateBps(uint32_t framerate) {
|
||||
return GetAllocation(codec_.maxBitrate * 1000, framerate).get_sum_bps();
|
||||
}
|
||||
|
||||
const VideoCodec& webrtc::SimulcastRateAllocator::GetCodec() const {
|
||||
return codec_;
|
||||
}
|
||||
|
@ -31,7 +31,6 @@ class SimulcastRateAllocator : public VideoBitrateAllocator {
|
||||
|
||||
VideoBitrateAllocation GetAllocation(uint32_t total_bitrate_bps,
|
||||
uint32_t framerate) override;
|
||||
uint32_t GetPreferredBitrateBps(uint32_t framerate) override;
|
||||
const VideoCodec& GetCodec() const;
|
||||
|
||||
private:
|
||||
|
@ -158,10 +158,6 @@ VideoBitrateAllocation SvcRateAllocator::GetAllocationScreenSharing(
|
||||
return bitrate_allocation;
|
||||
}
|
||||
|
||||
uint32_t SvcRateAllocator::GetPreferredBitrateBps(uint32_t framerate) {
|
||||
return GetAllocation(codec_.maxBitrate * 1000, framerate).get_sum_bps();
|
||||
}
|
||||
|
||||
std::vector<size_t> SvcRateAllocator::SplitBitrate(
|
||||
size_t num_layers,
|
||||
size_t total_bitrate,
|
||||
|
@ -29,7 +29,6 @@ class SvcRateAllocator : public VideoBitrateAllocator {
|
||||
|
||||
VideoBitrateAllocation GetAllocation(uint32_t total_bitrate_bps,
|
||||
uint32_t framerate_fps) override;
|
||||
uint32_t GetPreferredBitrateBps(uint32_t framerate_fps) override;
|
||||
|
||||
private:
|
||||
VideoBitrateAllocation GetAllocationNormalVideo(
|
||||
|
Reference in New Issue
Block a user