Allow REMB messages to be sent immediately in RtcpTransceiver
This cl add a configuration flag to allow REMB messages to be sent immediately when the bitrate value have changed. The remb message is still included in all following compound packets. Bug: None Change-Id: I9f71d30cddbccd095e1d2971247c731bd1727d32 Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/169221 Commit-Queue: Per Kjellander <perkj@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#30627}
This commit is contained in:
committed by
Commit Bot
parent
eed48b86ed
commit
c93595b4b9
@ -32,9 +32,9 @@ class Remb : public Psfb {
|
||||
bool Parse(const CommonHeader& packet);
|
||||
|
||||
bool SetSsrcs(std::vector<uint32_t> ssrcs);
|
||||
void SetBitrateBps(uint64_t bitrate_bps) { bitrate_bps_ = bitrate_bps; }
|
||||
void SetBitrateBps(int64_t bitrate_bps) { bitrate_bps_ = bitrate_bps; }
|
||||
|
||||
uint64_t bitrate_bps() const { return bitrate_bps_; }
|
||||
int64_t bitrate_bps() const { return bitrate_bps_; }
|
||||
const std::vector<uint32_t>& ssrcs() const { return ssrcs_; }
|
||||
|
||||
size_t BlockLength() const override;
|
||||
@ -51,7 +51,7 @@ class Remb : public Psfb {
|
||||
void SetMediaSsrc(uint32_t);
|
||||
uint32_t media_ssrc() const;
|
||||
|
||||
uint64_t bitrate_bps_;
|
||||
int64_t bitrate_bps_;
|
||||
std::vector<uint32_t> ssrcs_;
|
||||
};
|
||||
} // namespace rtcp
|
||||
|
||||
Reference in New Issue
Block a user