如何添加G729编解码器在Android应用程序

2022-04-14 科技 80阅读
FoundRTPaudioformat101
Foundaudiodescriptionformattelephone-eventforID101
FoundRTPvideoformat103
Foundvideodescriptionformath263-1998forID103
Capabilities:us-0x100(g729),peer-audio=0x0(nothing)/video=0x100000(h263p)/text=0x0(nothing),combined-0x0(nothing)
Non-codeccapabilities(dtmf):us-0x1(telephone-event|),peer-0x1(telephone-event|),combined-0x1(telephone-event|)
[Apr918:00:25]NOTICE[3813]:chan_sip.c:9187process_sdp:**Nocompatiblecodecs**,notacceptingthisoffer!

SDPTo:
From:;tag=z9hG4bK80811693
Call-ID:082004294635@10.0.2.15
CSeq:2INVITE
Contact:
Expires:3600
User-Agent:MySipdroid.!/2.4beta/sdk
Authorization:Digestusername="5004",realm="asterisk",nonce="6264308a",uri="sip:5003@192.168.1.17",algorithm=MD5,response="fb6dfb528d362657ef01458f96653adb"
Content-Length:137
Content-Type:application/sdp

v=0
o=5004@192.168.1.1700INIP410.0.2.15
s=SessionSIP/SDP
c=INIP410.0.2.15
t=00
m=audio21000RTP/AVP
a=fmtp:18annexb=no
<------------->
---(13headers7lines)---
Sendingto192.168.1.17:35370(NAT)
UsingINVITErequestasbasisrequest-082004294635@10.0.2.15
Foundpeer'5004'for'5004'from192.168.1.17:35370
==UsingSIPRTPCoSmark5
Capabilities:us-0x100(g729),peer-audio=0x0(nothing)/video=0x0(nothing)/text=0x0(nothing),combined-0x0(nothing)
Non-codeccapabilities(dtmf):us-0x1(telephone-event|),peer-0x0(nothing),combined-0x0(nothing)
[Apr1012:01:05]NOTICE[3524]:chan_sip.c:9187process_sdp:Nocompatiblecodecs,notacceptingthisoffer!

显示翻译结果coreshowtranslation
Translationtimesbetweenformats(inmicroseconds)foronesecondofdata
SourceFormat(Rows)DestinationFormat(Columns)

g723gsmulawalawg726aal2adpcmslinlpc10g729speexilbcg726g722siren7siren14slin16g719speex16testlaw
g723-------------------
gsm--1001100130002000100030003999-899939991001--1002--1001
ulaw-2000-120011001120013000-800030002--3--2
alaw-20001-20011001120013000-800030002--3--2
g726aal2-299910011001-2000100030003999-899939991001--1002--1001
adpcm-2000222001-120013000-800030002--3--2
slin-19991120001000-20002999-799929991--2--1
lpc10-299910011001300020001000-3999-899939991001--1002--1001
g729-2999100110013000200010003000--899939991001--1002--1001
speex-------------------
ilbc-2998100010002999199999929993998--39981000--1001--1000
g726-29991001100130002000100030003999-8999-1001--1002--1001
g722-20002220011001120013000-80003000---1--2
siren7-------------------
siren14-------------------
slin16-30001002100230012001100130014000-900040001000-----1002
g719-------------------
speex16-------------------
testlaw-20002220011001120013000-800030002--3---

sip.conf[5004]
type=friend
username=5004
secret=5004
host=dynamic
context=testcontext
nat=yes
disallow=all
allow=g729
qualify=yes
callerid="919999121312"<5004>

本文地址:CodeGo.net/441150/
声明:你问我答网所有作品(图文、音视频)均由用户自行上传分享,仅供网友学习交流。若您的权利被侵害,请联系fangmu6661024@163.com