Break out RemoteBitrateEstimator from RtpRtcp module and make RemoteBitrateEstimator::Process trigger new REMB messages.
Also make sure RTT is computed independently of whether it's time to send RTCP messages or not. BUG=1298 Review URL: https://webrtc-codereview.appspot.com/1060005 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3455 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
@ -113,6 +113,19 @@ RTCPReceiver::LastReceived()
|
||||
return _lastReceived;
|
||||
}
|
||||
|
||||
WebRtc_Word64
|
||||
RTCPReceiver::LastReceivedReceiverReport() const {
|
||||
CriticalSectionScoped lock(_criticalSectionRTCPReceiver);
|
||||
WebRtc_Word64 last_received_rr = -1;
|
||||
for (ReceivedInfoMap::const_iterator it = _receivedInfoMap.begin();
|
||||
it != _receivedInfoMap.end(); ++it) {
|
||||
if (it->second->lastTimeReceived > last_received_rr) {
|
||||
last_received_rr = it->second->lastTimeReceived;
|
||||
}
|
||||
}
|
||||
return last_received_rr;
|
||||
}
|
||||
|
||||
WebRtc_Word32
|
||||
RTCPReceiver::SetRemoteSSRC( const WebRtc_UWord32 ssrc)
|
||||
{
|
||||
|
Reference in New Issue
Block a user