Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(31)

Unified Diff: webrtc/call/call.cc

Issue 2840833002: Delete media type check in Call::NotifyBweOfReceivedPacket.
Patch Set: Undo voe::Channel workarounds. Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webrtc/pc/rtcstats_integrationtest.cc » ('j') | webrtc/pc/rtcstats_integrationtest.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/call/call.cc
diff --git a/webrtc/call/call.cc b/webrtc/call/call.cc
index 0e64269d4e4c70391a00be65da2440778bb14197..241a6be6607f0381b25abbca867a236fba9f2d90 100644
--- a/webrtc/call/call.cc
+++ b/webrtc/call/call.cc
@@ -1277,13 +1277,9 @@ void Call::NotifyBweOfReceivedPacket(const RtpPacketReceived& packet,
// enabled.
return;
}
- // For audio, we only support send side BWE.
- if (media_type == MediaType::VIDEO ||
- (use_send_side_bwe && header.extension.hasTransportSequenceNumber)) {
- receive_side_cc_.OnReceivedPacket(
- packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(),
- header);
- }
+ receive_side_cc_.OnReceivedPacket(
+ packet.arrival_time_ms(), packet.payload_size() + packet.padding_size(),
+ header);
}
} // namespace internal
« no previous file with comments | « no previous file | webrtc/pc/rtcstats_integrationtest.cc » ('j') | webrtc/pc/rtcstats_integrationtest.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698