Makes RtpSender indicate allocation and feedback status on packets.
Streams that are part of transport feedback are assumed to be part of allocation. A SetAsPartOfAllocation method is introduced to be used by media streams that are part of bitrate allocation but not included in feedback. This is part of a series of CLs that allows GoogCC to track sent bitrate that is included in bitrate allocation but without transport feedback. Bug: webrtc:9796 Change-Id: If7ac1ad3e6f3c28b2ada2aef1607a42689d899b2 Reviewed-on: https://webrtc-review.googlesource.com/c/104881 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#25079}
This commit is contained in:

committed by
Commit Bot

parent
81125f0aba
commit
1bca65bdc9
@ -86,6 +86,8 @@ class RTPSender {
|
||||
void SetSendingMediaStatus(bool enabled);
|
||||
bool SendingMedia() const;
|
||||
|
||||
void SetAsPartOfAllocation(bool part_of_allocation);
|
||||
|
||||
void GetDataCounters(StreamDataCounters* rtp_stats,
|
||||
StreamDataCounters* rtx_stats) const;
|
||||
|
||||
@ -277,7 +279,7 @@ class RTPSender {
|
||||
|
||||
Transport* transport_;
|
||||
bool sending_media_ RTC_GUARDED_BY(send_critsect_);
|
||||
|
||||
bool force_part_of_allocation_ RTC_GUARDED_BY(send_critsect_);
|
||||
size_t max_packet_size_;
|
||||
|
||||
int8_t last_payload_type_ RTC_GUARDED_BY(send_critsect_);
|
||||
|
Reference in New Issue
Block a user