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

Unified Diff: webrtc/media/engine/webrtcvoiceengine.cc

Issue 2669733002: Add 120ms frame ability to ANA (Closed)
Patch Set: Rebased Created 3 years, 11 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
Index: webrtc/media/engine/webrtcvoiceengine.cc
diff --git a/webrtc/media/engine/webrtcvoiceengine.cc b/webrtc/media/engine/webrtcvoiceengine.cc
index b81173032d7e6852990caed6e7aafdbcbf0b07bf..f983b2a4b565c3f00bfcac3733979091e32c02c2 100644
--- a/webrtc/media/engine/webrtcvoiceengine.cc
+++ b/webrtc/media/engine/webrtcvoiceengine.cc
@@ -1477,7 +1477,11 @@ class WebRtcVoiceMediaChannel::WebRtcAudioSendStream
// The adaptor will only be active for the Opus encoder.
if (config_.audio_network_adaptor_config &&
IsCodec(config_.send_codec_spec.codec_inst, kOpusCodecName)) {
+#if WEBRTC_OPUS_SUPPORT_120MS_PTIME
+ max_packet_size_ms = 120;
+#else
max_packet_size_ms = 60;
+#endif
min_packet_size_ms = 20;
}

Powered by Google App Engine
This is Rietveld 408576698