Adding build switch for Opus that supports 120ms ptime.
BUG=webrtc:7097 TEST=Set "ptime=120", try WebRTC calls over custom build Chromium with and without Opus 120ms. Try both Chromium w <-> Chromium w and Chromium w <-> Chromium w/o Review-Url: https://codereview.webrtc.org/2668633004 Cr-Commit-Position: refs/heads/master@{#16408}
This commit is contained in:
@ -15,6 +15,11 @@ if (rtc_include_ilbc) {
|
||||
if (rtc_include_opus) {
|
||||
audio_codec_defines += [ "WEBRTC_CODEC_OPUS" ]
|
||||
}
|
||||
if (rtc_opus_support_120ms_ptime) {
|
||||
audio_codec_defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=1" ]
|
||||
} else {
|
||||
audio_codec_defines += [ "WEBRTC_OPUS_SUPPORT_120MS_PTIME=0" ]
|
||||
}
|
||||
if (!build_with_mozilla) {
|
||||
if (current_cpu == "arm") {
|
||||
audio_codec_defines += [ "WEBRTC_CODEC_ISACFX" ]
|
||||
|
||||
Reference in New Issue
Block a user