Simplify RtpRtcp interface for REMB
Remove REMB accessor as used for debug checks only. Merge SetRembData and SetRembStatus(true) eliminating state 'remb can be send, but no data available yet' Bug: None Change-Id: I4c1c19435657e5cde02a17de90ec6de9f00b7daf Reviewed-on: https://webrtc-review.googlesource.com/7983 Reviewed-by: Elad Alon <eladalon@webrtc.org> Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20240}
This commit is contained in:
committed by
Commit Bot
parent
d931705f84
commit
51e21aaa7a
@ -340,12 +340,20 @@ class RtpRtcp : public Module {
|
||||
virtual bool RtcpXrRrtrStatus() const = 0;
|
||||
|
||||
// (REMB) Receiver Estimated Max Bitrate.
|
||||
virtual bool REMB() const = 0;
|
||||
// Schedules sending REMB on next and following sender/receiver reports.
|
||||
virtual void SetRemb(uint32_t bitrate_bps,
|
||||
const std::vector<uint32_t>& ssrcs) = 0;
|
||||
// Stops sending REMB on next and following sender/receiver reports.
|
||||
virtual void UnsetRemb() = 0;
|
||||
|
||||
virtual void SetREMBStatus(bool enable) = 0;
|
||||
|
||||
virtual void SetREMBData(uint32_t bitrate,
|
||||
const std::vector<uint32_t>& ssrcs) = 0;
|
||||
RTC_DEPRECATED void SetREMBStatus(bool enable) {
|
||||
if (!enable)
|
||||
UnsetRemb();
|
||||
}
|
||||
RTC_DEPRECATED void SetREMBData(uint32_t bitrate,
|
||||
const std::vector<uint32_t>& ssrcs) {
|
||||
SetRemb(bitrate, ssrcs);
|
||||
}
|
||||
|
||||
// (TMMBR) Temporary Max Media Bit Rate
|
||||
virtual bool TMMBR() const = 0;
|
||||
|
||||
Reference in New Issue
Block a user