Reduce usage of tmmbr information structure
by creating it on accepted tmmbr/tmmbn rtcp messages rather on sender/receiver reports. BUG=webrtc:5565 Review-Url: https://codereview.webrtc.org/2702373002 Cr-Commit-Position: refs/heads/master@{#16748}
This commit is contained in:
@ -131,7 +131,10 @@ class RTCPReceiver {
|
||||
void TriggerCallbacksFromRtcpPacket(
|
||||
const PacketInformation& packet_information);
|
||||
|
||||
void CreateTmmbrInformation(uint32_t remote_ssrc)
|
||||
TmmbrInformation* FindOrCreateTmmbrInfo(uint32_t remote_ssrc)
|
||||
EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
|
||||
// Update TmmbrInformation (if present) is alive.
|
||||
void UpdateTmmbrRemoteIsAlive(uint32_t remote_ssrc)
|
||||
EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
|
||||
TmmbrInformation* GetTmmbrInformation(uint32_t remote_ssrc)
|
||||
EXCLUSIVE_LOCKS_REQUIRED(rtcp_receiver_lock_);
|
||||
|
||||
Reference in New Issue
Block a user