Sanjivkumarroshan / csipsimple

Automatically exported from code.google.com/p/csipsimple
0 stars 0 forks source link

ilbc mode always 30 #2871

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. When the pjsua lib will be initialized change the ilbc mode to 20 with 
mediaCfg.setIlbc_mode(20);
2. In "CSipSimple/jni/pjsip/sources/pjmedia/src/pjmedia-codec/audio_codecs.c" 
change cfg->ilbc.mode = 30; to 20
3. In "CSipSimple/jni/CSipSimpleWrapper/audio_codecs.c"  change cfg->ilbc.mode 
= 30; to 20
4. Recompile the libraries 

What is the expected output? What do you see instead?
The expected output should be an INVITE with an ilbc mode set to 20. 
The actual output is an INVITE with an ilbc mode set to 30. 

What version of the product are you using? On what device / operating
system?
The operating system of the build machine is Mac OS X 10.10 
For testing the app we are using Android 4.4.2 with a Samsung Galaxy S5 
Android 5.0.1 with a Nexus 5 
Android 4.2 with a Sony Xperia P 

Please provide any additional information below.

In my logs I can see that the ilbc mode is set to 30. 
You can prove this by using  System.out.println("ilbc Mode: " + 
mediaCfg.getIlbc_mode());

Our server is using FreeSwitch and it forces the Sip Client to use ilbc mode 20

Original issue reported on code.google.com by Alexande...@gmail.com on 20 Jan 2015 at 9:04

GoogleCodeExporter commented 9 years ago

Original comment by r3gis...@gmail.com on 22 Jun 2015 at 11:31