Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(644)

Unified Diff: webrtc/modules/pacing/paced_sender.h

Issue 2965233002: Let alr dectector use a budged to detect underuse. (Closed)
Patch Set: Rebased. Created 3 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webrtc/modules/pacing/interval_budget_unittest.cc ('k') | webrtc/modules/pacing/paced_sender.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/pacing/paced_sender.h
diff --git a/webrtc/modules/pacing/paced_sender.h b/webrtc/modules/pacing/paced_sender.h
index a547aab70f97ab881a2a6636c9488ee2a4717370..1d38d0956d09c968f7649dca237874d84fb8fa58 100644
--- a/webrtc/modules/pacing/paced_sender.h
+++ b/webrtc/modules/pacing/paced_sender.h
@@ -28,9 +28,9 @@ class BitrateProber;
class Clock;
class ProbeClusterCreatedObserver;
class RtcEventLog;
+class IntervalBudget;
namespace paced_sender {
-class IntervalBudget;
struct Packet;
class PacketQueue;
} // namespace paced_sender
@@ -173,13 +173,11 @@ class PacedSender : public Module, public RtpPacketSender {
bool paused_ GUARDED_BY(critsect_);
// This is the media budget, keeping track of how many bits of media
// we can pace out during the current interval.
- std::unique_ptr<paced_sender::IntervalBudget> media_budget_
- GUARDED_BY(critsect_);
+ std::unique_ptr<IntervalBudget> media_budget_ GUARDED_BY(critsect_);
// This is the padding budget, keeping track of how many bits of padding we're
// allowed to send out during the current interval. This budget will be
// utilized when there's no media to send.
- std::unique_ptr<paced_sender::IntervalBudget> padding_budget_
- GUARDED_BY(critsect_);
+ std::unique_ptr<IntervalBudget> padding_budget_ GUARDED_BY(critsect_);
std::unique_ptr<BitrateProber> prober_ GUARDED_BY(critsect_);
bool probing_send_failure_;
« no previous file with comments | « webrtc/modules/pacing/interval_budget_unittest.cc ('k') | webrtc/modules/pacing/paced_sender.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698