make sure opus can be disabled

This commit is contained in:
Jehan Monnier 2013-10-01 15:27:38 +02:00
parent 12c32782a3
commit 114beb0177
2 changed files with 2 additions and 1 deletions

View file

@ -11,5 +11,5 @@
#proguard.config=${sdk.dir}/tools/proguard/proguard-android.txt:proguard-project.txt
# Project target.
target=android-17
target=android-18
android.library=false

View file

@ -857,6 +857,7 @@ public class LinphoneManager implements LinphoneCoreListener {
//enableDisableAudioCodec("SILK", 12000, 1, R.string.pref_codec_silk12_key);
enableDisableAudioCodec("SILK", 12000, 1, false);
enableDisableAudioCodec("SILK", 8000, 1, R.string.pref_codec_silk8_key);
enableDisableAudioCodec("OPUS", 48000, 1, R.string.pref_codec_opus_key);
// Configure video codecs
for (PayloadType videoCodec : mLc.getVideoCodecs()) {