aboutsummaryrefslogtreecommitdiff
path: root/call/rtp_video_sender_interface.h
diff options
context:
space:
mode:
authorSebastian Jansson <srte@webrtc.org>2019-10-15 15:58:37 +0200
committerCommit Bot <commit-bot@chromium.org>2019-10-15 14:40:48 +0000
commit82ed2e852f7676e8f1eee725682ec28d19c1bf7c (patch)
tree4028f675355665b94c31a7a3f430ef3507ed0ff1 /call/rtp_video_sender_interface.h
parent6841d25d45ac91fb737c3cc5d82240bad0d2740d (diff)
downloadwebrtc-82ed2e852f7676e8f1eee725682ec28d19c1bf7c.tar.gz
Cleanup: Propagating BitrateAllocationUpdate to RtpVideoSender
Bug: webrtc:9883 Change-Id: I12d342ecd5eb0cc859123fe31fc759f6f60f7c8b Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/156940 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Erik Språng <sprang@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29492}
Diffstat (limited to 'call/rtp_video_sender_interface.h')
-rw-r--r--call/rtp_video_sender_interface.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/call/rtp_video_sender_interface.h b/call/rtp_video_sender_interface.h
index ae9cdaf71c..bb72eb5996 100644
--- a/call/rtp_video_sender_interface.h
+++ b/call/rtp_video_sender_interface.h
@@ -16,6 +16,7 @@
#include "absl/types/optional.h"
#include "api/array_view.h"
+#include "api/call/bitrate_allocation.h"
#include "api/fec_controller_override.h"
#include "call/rtp_config.h"
#include "modules/rtp_rtcp/include/rtp_rtcp_defines.h"
@@ -49,9 +50,7 @@ class RtpVideoSenderInterface : public EncodedImageCallback,
virtual void OnBitrateAllocationUpdated(
const VideoBitrateAllocation& bitrate) = 0;
- virtual void OnBitrateUpdated(uint32_t bitrate_bps,
- uint8_t fraction_loss,
- int64_t rtt,
+ virtual void OnBitrateUpdated(BitrateAllocationUpdate update,
int framerate) = 0;
virtual void OnTransportOverheadChanged(
size_t transport_overhead_bytes_per_packet) = 0;