Philipp Hörist pushed to branch master at gajim / gajim

Commits:
a3c316ab by streaps at 2019-02-06T19:18:58Z
AMR codec added

- - - - -


1 changed file:

- gajim/common/jingle_rtp.py


Changes:

=====================================
gajim/common/jingle_rtp.py
=====================================
@@ -360,16 +360,19 @@ class JingleAudio(JingleRTPContent):
                                 Farstream.MediaType.AUDIO, 48000),
             Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'SPEEX',
                                 Farstream.MediaType.AUDIO, 32000),
-            Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'SPEEX',
-                                Farstream.MediaType.AUDIO, 16000),
             Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'G722',
                                 Farstream.MediaType.AUDIO, 8000),
             Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'SPEEX',
-                                Farstream.MediaType.AUDIO, 8000),
+                                Farstream.MediaType.AUDIO, 16000),
             Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'PCMA',
                                 Farstream.MediaType.AUDIO, 8000),
             Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'PCMU',
-                                Farstream.MediaType.AUDIO, 8000)]
+                                Farstream.MediaType.AUDIO, 8000),
+            Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'SPEEX',
+                                Farstream.MediaType.AUDIO, 8000),
+            Farstream.Codec.new(Farstream.CODEC_ID_ANY, 'AMR',
+                                Farstream.MediaType.AUDIO, 8000),
+            ]
 
         # disable all other codecs
         disable_codecs = []



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/a3c316abaa3d4d3594a7ce836cfe6eaebd0f4fd6

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/a3c316abaa3d4d3594a7ce836cfe6eaebd0f4fd6
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to