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

Unified Diff: webrtc/call/call.cc

Issue 2840833002: Delete media type check in Call::NotifyBweOfReceivedPacket.
Patch Set: Comment update. Created 3 years, 7 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 | « webrtc/api/stats/rtcstats_objects.h ('k') | webrtc/pc/rtcstats_integrationtest.cc » ('j') | no next file with comments »
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 ||
stefan-webrtc 2017/05/05 12:26:39 I don't think it's safe to remove this. Let's say
- (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 | « webrtc/api/stats/rtcstats_objects.h ('k') | webrtc/pc/rtcstats_integrationtest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698