同时采用了G729 codeC在SipDroid错误

人气:783 发布:2022-09-10 标签: android codec sip

问题描述

我开发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一个开源的项目,我也跟着这个步骤(随后从149到160的注释),以增加G729 codeC中的 SipDroid 。

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的错误。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。点击此处 创建或 org.sipdroid下载g729.java文件。codeCS 包点击此处 按照列出的步骤操作注释中没有任何 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

669