问题描述
我开发SIP应用程序拨打和接听电话一。我想该应用程序支持G729 codeC。
I am developing a SIP application to make and receive a calls. And i want that application to support g729 codec.
首先,我曾尝试与SipDroid一个开源的项目,我也跟着<一href="http://$c$c.google.com/p/sipdroid/issues/detail?id=49&q=g729%20$c$cc&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars"相对=nofollow>这个步骤(随后从149到160的注释),以增加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.
不过G729 codeC是不是在我application.i谈判已删除了其他codeCS并添加只有G729。
But g729 codec is not negotiated in my application.i have removed other codecs and added only g729.
在我的Asterisk我已经添加了G729 codeC的.so文件,并在同行占我禁止一切,只允许G729,但我得到的不兼容codec的错误。<一个href="http://stackoverflow.com/questions/10069274/how-to-add-g729-$c$cc-in-android-application/10070748#comment12946883_10070748">Click这里约codeC配置的详细信息和日志Asterisk的CLI消息。
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.
我肯定没有在客户端的一个问题,因为我已经在Asterisk中添加G729和我呼吁宝利通具有G729 codeC。
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.
任何建议和解决方案,这个问题将是AP preciated。
Any suggestion and solution about this issue will be appreciated.
感谢
解决:
请参阅我的答案
推荐答案
步骤,我跟
- 下载并添加在 JNI 文件夹中的g729_jni.cpp。<一个href="http://$c$c.google.com/p/sipdroid/issues/attachmentText?id=49&aid=7963991223373796529&name=g729_jni.cpp&token=025a1iGrmm3wQbx6eSwk0oHoQPw%3A1363787775149"相对=nofollow>点击此处
- 创建或 org.sipdroid下载g729.java文件。codeCS 包<一href="http://$c$c.google.com/p/sipdroid/issues/attachmentText?id=49&aid=-8474206049513172531&name=G729.java&token=95Cri33msKTkLVmXLnlx4hEZiUk%3A1363787775151"相对=nofollow>点击此处
- 按照列出的步骤操作注释中没有任何<一href="http://$c$c.google.com/p/sipdroid/issues/detail?id=49&q=g729%20$c$cc&colspec=ID%20Type%20Status%20Priority%20Milestone%20Owner%20Summary%20Stars"相对=nofollow> 159
- 下载的libs.rar文件,解压缩
-
添加到库项目的根目录下。
- 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.
如果你想添加G729在SipDroid请参见本
Please refer this if you want to add g729 in SipDroid
HTTP://junedk.blogspot .COM /十分之二千零一十三/附加g729- codeC-在-sipdroid.html
这篇关于同时采用了G729 codeC在SipDroid错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!