Split LastFir status out of RTCPReceiver::ReceiveInfo

This a pre-step for improving perfomance of the RTCPReceiver
- rest of the ReceiveInfo is tmmbr related and
can be handled only when tmmbr is explicitly enabled.

BUG=webrtc:5565

Review-Url: https://codereview.webrtc.org/2681003003
Cr-Commit-Position: refs/heads/master@{#16667}
This commit is contained in:
danilchap
2017-02-17 06:23:15 -08:00
committed by Commit bot
parent 642943baea
commit efa966b608
3 changed files with 21 additions and 12 deletions

View File

@ -119,6 +119,7 @@ class RTCPReceiver {
struct PacketInformation;
struct ReceiveInformation;
struct ReportBlockWithRtt;
struct LastFirStatus;
// Mapped by remote ssrc.
using ReceivedInfoMap = std::map<uint32_t, ReceiveInformation>;
// RTCP report blocks mapped by remote SSRC.
@ -245,6 +246,7 @@ class RTCPReceiver {
ReportBlockMap received_report_blocks_ GUARDED_BY(rtcp_receiver_lock_);
ReceivedInfoMap received_infos_ GUARDED_BY(rtcp_receiver_lock_);
int64_t oldest_received_info_ms_ GUARDED_BY(rtcp_receiver_lock_);
std::map<uint32_t, LastFirStatus> last_fir_ GUARDED_BY(rtcp_receiver_lock_);
std::map<uint32_t, std::string> received_cnames_
GUARDED_BY(rtcp_receiver_lock_);