Enable G729 codec in linphone for iPhone

I mean the problem of enabling the G729 codec.

I am currently using linphone libraries to make transitions from the iPhone. I need to work with the g729 codec.

Can anyone think of a way to do this? Please share your valuable knowledge about this.

+7
source share
2 answers

Assuming you were able to compile the SDK and linphone Xcode project, here is what you need to do:

  • Include G729_preference in the Audio.plist file. You can either enter all the information yourself, or simply copy the line G722 and simply replace 722 with 729. Make sure that the "Default value" is set to "YES"
  • In Project → Target → Build Settings, find the preprocessor macros and enable HAVE_G729
  • Run the project. Now SDP should include G729 at the prompts or 200 OK.

Please note that the G729 has royalties (aka patent license), so be aware. If you plan to deploy on a commercial basis, you will need to establish an agreement with Sipro.

+7
source

You can find the instructions in readme.md included in the project.

You need to enable the G729 codec with this command:

./prepare.py -DENABLE_NON_FREE_CODECS=ON -DENABLE_G729=ON 
+1
source

All Articles