Index: talk/media/webrtc/webrtcvideoengine2.cc |
diff --git a/talk/media/webrtc/webrtcvideoengine2.cc b/talk/media/webrtc/webrtcvideoengine2.cc |
index 101ed15bddd996d4e51d462d537f4d50ee613dd4..0f1587d54fbe0ec208f88f633a55760b956b5492 100644 |
--- a/talk/media/webrtc/webrtcvideoengine2.cc |
+++ b/talk/media/webrtc/webrtcvideoengine2.cc |
@@ -1478,12 +1478,14 @@ void WebRtcVideoChannel2::OnRtcpReceived( |
const rtc::PacketTime& packet_time) { |
const webrtc::PacketTime webrtc_packet_time(packet_time.timestamp, |
packet_time.not_before); |
- if (call_->Receiver()->DeliverPacket( |
- webrtc::MediaType::VIDEO, |
- reinterpret_cast<const uint8_t*>(packet->data()), packet->size(), |
- webrtc_packet_time) != webrtc::PacketReceiver::DELIVERY_OK) { |
- LOG(LS_WARNING) << "Failed to deliver RTCP packet."; |
- } |
+ // TODO(pbos): Check webrtc::PacketReceiver::DELIVERY_OK once we deliver |
+ // for both audio and video on the same path. Since BundleFilter doesn't |
+ // filter RTCP anymore incoming RTCP packets could've been going to audio (so |
+ // logging failures spam the log). |
+ call_->Receiver()->DeliverPacket( |
+ webrtc::MediaType::VIDEO, |
+ reinterpret_cast<const uint8_t*>(packet->data()), packet->size(), |
+ webrtc_packet_time); |
} |
void WebRtcVideoChannel2::OnReadyToSend(bool ready) { |