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

Unified Diff: webrtc/video/payload_router.h

Issue 2531383002: Wire up BitrateAllocation to be sent as RTCP TargetBitrate (Closed)
Patch Set: Undo crit removal Created 4 years 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/video/end_to_end_tests.cc ('k') | webrtc/video/payload_router.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/video/payload_router.h
diff --git a/webrtc/video/payload_router.h b/webrtc/video/payload_router.h
index 6426b00615f329b21821e9a3c6dea95c3daa466e..3b60ce23c0cd4fd2adb334cfa28254267f4e038a 100644
--- a/webrtc/video/payload_router.h
+++ b/webrtc/video/payload_router.h
@@ -40,8 +40,8 @@ class PayloadRouter : public EncodedImageCallback {
// PayloadRouter will only route packets if being active, all packets will be
// dropped otherwise.
- void set_active(bool active);
- bool active();
+ void SetActive(bool active);
+ bool IsActive();
// Implements EncodedImageCallback.
// Returns 0 if the packet was routed / sent, -1 otherwise.
@@ -54,6 +54,8 @@ class PayloadRouter : public EncodedImageCallback {
// and RTP headers.
size_t MaxPayloadLength() const;
+ void OnBitrateAllocationUpdated(const BitrateAllocation& bitrate);
+
private:
void UpdateModuleSendingState() EXCLUSIVE_LOCKS_REQUIRED(crit_);
« no previous file with comments | « webrtc/video/end_to_end_tests.cc ('k') | webrtc/video/payload_router.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698