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_); |