From 55fbc085f044aa2162b34c065a236d1b580b7bab Mon Sep 17 00:00:00 2001
From: Boris Grozev <boris@jitsi.org>
Date: Thu, 22 Aug 2013 19:56:04 +0300
Subject: [PATCH] Increases the default priority of SILK, making it prefered
 over G722.

---
 .../jitsi/impl/neomedia/codec/EncodingConfigurationImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/org/jitsi/impl/neomedia/codec/EncodingConfigurationImpl.java b/src/org/jitsi/impl/neomedia/codec/EncodingConfigurationImpl.java
index b4d8f86f..0b7467e1 100644
--- a/src/org/jitsi/impl/neomedia/codec/EncodingConfigurationImpl.java
+++ b/src/org/jitsi/impl/neomedia/codec/EncodingConfigurationImpl.java
@@ -78,9 +78,9 @@ private void initializeFormatPreferences()
 
         // audio
         setEncodingPreference("opus", 48000, 750);
+        setEncodingPreference("SILK", 24000, 714);
+        setEncodingPreference("SILK", 16000, 713);
         setEncodingPreference("G722", 8000 /* actually, 16 kHz */, 705);
-        setEncodingPreference("SILK", 24000, 704);
-        setEncodingPreference("SILK", 16000, 703);
         setEncodingPreference("speex", 32000, 701);
         setEncodingPreference("speex", 16000, 700);
         setEncodingPreference("PCMU", 8000, 650);
-- 
GitLab