问题
I am developing a SIP application to make and receive a calls. And i want that application to support g729 codec.
First i have tried with SipDroid an open source project and i have followed the this steps (followed the comment from 149 to 160) to add g729 codec in SipDroid.
But g729 codec is not negotiated in my application.i have removed other codecs and added only g729.
In my Asterisk i have added the .so file of g729 codec and in peers account i disallowed all and allowed only g729 but i am getting a error of Incompatible Codec.Click here for more information about codec configuration and log message of Asterisk CLI.
I am sure there is a problem in Client side because i have added g729 in Asterisk and i am calling on Polycom which has a g729 codec.
Any suggestion and solution about this issue will be appreciated.
Thanks
Solved:
please see my answer
回答1:
steps which i have followed
- Downloaded and added the g729_jni.cpp in jni folder.Click here
- Create or Download g729.java file in org.sipdroid.codecs package Click here
- follow the steps listed here comment no 159
- Downloaded the libs.rar file and extract
add that libs to projects root directory.
Please refer this if you want to add g729 in SipDroid
http://junedk.blogspot.com/2013/10/add-g729-codec-in-sipdroid.html
来源:https://stackoverflow.com/questions/10118436/error-while-using-a-g729-codec-in-sipdroid