Make sure RTCP is sent in tests when receiving packets even if REMB is delayed.

BUG=chromium:509821

Review URL: https://codereview.webrtc.org/1238703002

Cr-Commit-Position: refs/heads/master@{#9579}
This commit is contained in:
stefan 2015-07-14 09:14:51 -07:00 committed by Commit bot
parent ba35d05a49
commit caa498abbf

View File

@ -124,6 +124,7 @@ bool StreamObserver::SendRtp(const uint8_t* packet, size_t length) {
clock_->TimeInMilliseconds(), length - header.headerLength, header, true);
if (remote_bitrate_estimator_->TimeUntilNextProcess() <= 0) {
remote_bitrate_estimator_->Process();
rtp_rtcp_->Process();
}
total_sent_ += length;
padding_sent_ += header.paddingLength;