Only handle each RTCP once.
Previously, each RTCP packet was handled several times in a row, once per m-section. This caused various weirdness and log warning spam, in particular when using unified plan. The cause was that the packets were wired trough each BaseChannel instance up to the Call class. With this fix, the RTCP packets are wired once per RtpTransportInternal via the common peer connection class. Bug: chromium:1002875 Change-Id: I41c4eb3b68e215ebe0f2c6fb93ae0ee73335b89a Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/152668 Commit-Queue: Sebastian Jansson <srte@webrtc.org> Reviewed-by: Steve Anton <steveanton@webrtc.org> Reviewed-by: Niels Moller <nisse@webrtc.org> Cr-Commit-Position: refs/heads/master@{#29226}
This commit is contained in:
committed by
Commit Bot
parent
4bad650ba7
commit
1b83a9e400
@ -163,8 +163,6 @@ class WebRtcVideoChannel : public VideoMediaChannel,
|
||||
|
||||
void OnPacketReceived(rtc::CopyOnWriteBuffer packet,
|
||||
int64_t packet_time_us) override;
|
||||
void OnRtcpReceived(rtc::CopyOnWriteBuffer packet,
|
||||
int64_t packet_time_us) override;
|
||||
void OnReadyToSend(bool ready) override;
|
||||
void OnNetworkRouteChanged(const std::string& transport_name,
|
||||
const rtc::NetworkRoute& network_route) override;
|
||||
|
||||
Reference in New Issue
Block a user