Add RemoteEstimatorProxy for capturing receive times

For use when send-side bandwidth estimation is enabled.

Receive times need to be captured, buffered and then sent using
TransportFeedback RTCP messaged back to the send side.

BUG=webrtc:4173

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

Cr-Commit-Position: refs/heads/master@{#9898}
This commit is contained in:
sprang
2015-09-08 13:25:16 -07:00
committed by Commit bot
parent 66c42df4f2
commit 233bd87d45
15 changed files with 580 additions and 0 deletions

View File

@ -19,6 +19,7 @@
#include "webrtc/base/thread_annotations.h"
#include "webrtc/common_types.h"
#include "webrtc/modules/pacing/include/paced_sender.h"
#include "webrtc/modules/rtp_rtcp/source/rtcp_packet/transport_feedback.h"
namespace webrtc {
@ -45,6 +46,9 @@ class PacketRouter : public PacedSender::Callback {
void SetTransportWideSequenceNumber(uint16_t sequence_number);
uint16_t AllocateSequenceNumber();
// Send transport feedback packet to send-side.
virtual bool SendFeedback(rtcp::TransportFeedback* packet);
private:
rtc::CriticalSection modules_lock_;
// Map from ssrc to sending rtp module.