Adds remote estimate RTCP packet.

This adds the RemoteEstimate rtcp packet and wires it up to GoogCC where
it's used to improve congestion controller behavior.

The functionality is negotiated using SDP.

It's added with a field trial that allow disabling the functionality in
case there's any issues.

Bug: webrtc:10742
Change-Id: I1ea8e4216a27cd2b00505c99b42d1e38726256c8
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/146602
Reviewed-by: Stefan Holmer <stefan@webrtc.org>
Reviewed-by: Erik Språng <sprang@webrtc.org>
Commit-Queue: Sebastian Jansson <srte@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#28654}
This commit is contained in:
Sebastian Jansson
2019-07-24 11:38:03 +02:00
committed by Commit Bot
parent 1796a820f6
commit e1795f4158
26 changed files with 403 additions and 1 deletions

View File

@ -79,6 +79,8 @@ class RtcpTransceiver : public RtcpFeedbackSenderInterface {
// Returns ssrc to put as sender ssrc into rtcp::TransportFeedback.
uint32_t SSRC() const override;
bool SendFeedbackPacket(const rtcp::TransportFeedback& packet) override;
bool SendNetworkStateEstimatePacket(
const rtcp::RemoteEstimate& packet) override;
// Reports missing packets, https://tools.ietf.org/html/rfc4585#section-6.2.1
void SendNack(uint32_t ssrc, std::vector<uint16_t> sequence_numbers);