Trigger rtt and stats update on report block rather than receiver report.
ReportBlock is the the real receiver report. Triggering rtt update on ReportBlock support clients that send receiver report blocks attached to SenderReport rather than ReceiverReport. Bug: webrtc:7996 Change-Id: Ie826fa09fd1bf0e5256e995649f66811b5192761 Reviewed-on: https://webrtc-review.googlesource.com/4040 Reviewed-by: Åsa Persson <asapersson@webrtc.org> Commit-Queue: Danil Chapovalov <danilchap@webrtc.org> Cr-Commit-Position: refs/heads/master@{#20014}
This commit is contained in:

committed by
Commit Bot

parent
cff9ee650e
commit
760c4b4da9
@ -61,7 +61,7 @@ class RTCPReceiver {
|
||||
|
||||
void IncomingPacket(const uint8_t* packet, size_t packet_size);
|
||||
|
||||
int64_t LastReceivedReceiverReport() const;
|
||||
int64_t LastReceivedReportBlockMs() const;
|
||||
|
||||
void SetSsrcs(uint32_t main_ssrc, const std::set<uint32_t>& registered_ssrcs);
|
||||
void SetRemoteSSRC(uint32_t ssrc);
|
||||
@ -245,8 +245,8 @@ class RTCPReceiver {
|
||||
std::map<uint32_t, std::string> received_cnames_
|
||||
RTC_GUARDED_BY(rtcp_receiver_lock_);
|
||||
|
||||
// The last time we received an RTCP RR.
|
||||
int64_t last_received_rr_ms_ RTC_GUARDED_BY(rtcp_receiver_lock_);
|
||||
// The last time we received an RTCP Report block for this module.
|
||||
int64_t last_received_rb_ms_ RTC_GUARDED_BY(rtcp_receiver_lock_);
|
||||
|
||||
// The time we last received an RTCP RR telling we have successfully
|
||||
// delivered RTP packet to the remote side.
|
||||
|
Reference in New Issue
Block a user