linphone-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Linphone-developers] Are PCMA and PCMU working in android version?


From: Konstantin.O
Subject: [Linphone-developers] Are PCMA and PCMU working in android version?
Date: Tue, 16 Jun 2015 18:00:31 +0300

Hi Linphone Developer!

Yesterday I cloned from Git and built latest Linphone for Android, exactly as 
it is hinted in README.md.
It work fine but codecs only working (adevtised) are OPUS, iLBC, SILK and SPEEX.
I have enabled all codecs in settings, but I never seen PCMA/PCMU, GSM, G726, 
G722 in list.
There are NO widely used codes like PCMA/PCMU, GSM, G726, G722 in SIP INVITE 
message.
I used tcpdump to examine SIP dialogs with asterisk, here is example of INVITE 
from Linphone to asterisk:

     A.B.C.D.60191 > Q.W.E.R.5060: SIP, length: 1472
        INVITE sip:address@hidden SIP/2.0
        Via: SIP/2.0/UDP 192.168.2.2:60191;branch=z9hs4bK.YuOjUMR-c;rport
        From: <sip:address@hidden>;tag=-GsMdk1kU
        To: sip:address@hidden
        CSeq: 21 INVITE
        Call-ID: MFuoHrcVVt
        Max-Forwards: 70
        Supported: outbound
        Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, 
SUBSCRIBE, INFO, UPDATE
        Content-Type: application/sdp
        Content-Length: 1692
        Contact: 
<sip:address@hidden:60191>;+sip.instance="<urn:uuid:2523207c-9b19-3451-8a48-60bf318684eb>"
        User-Agent: LinphoneIphone/X
        Authorization:  Digest realm="ASTASTAST", nonce="aa372dce", 
algorithm=MD5, username="20029",  uri="sip:address@hidden", 
response="1eb25ee20e29e7f87be9542eed3d0e18"

        v=0
        o=20029 3033 2572 IN IP4 192.168.2.224
        s=Talk
        c=IN IP4 192.168.2.224
        b=AS:512
        t=0 0
        a=rtcp-xr:rcvr-rtt=all:10000 stat-summary=loss,dup,jitt,TTL voip-metrics
        m=audio 7078 RTP/AVP 96 97 98 99 0 8 3 9 100 102 103 104 105 106 107 
101 108 109 110 111 112 113
        a=rtpmap:96 opus/48000/2
        a=fmtp:96 useinbandfec=1; stereo=0; sprop-stereo=0
        a=rtpmap:97 SILK/16000
        a=rtpmap:98 speex/16000
        a=fmtp:98 vbr=on
        a=rtpmap:99 speex/8000
        a=fmtp:99 vbr=on
        a=rtpmap:100 iLBC/8000
        a=fmtp:100 mode=30
        a=rtpmap:102 mpeg4-generic/16000
        a=fmtp:102 config=F8EE2000; constantDuration=512; indexDeltaLength=3; 
indexLength=3; mode=AAC-hbr; profile-level-id=76; sizeLength=13; streamType=5
        a=rtpmap:103 mpeg4-generi[|sip]

My questions are:

1. How I can enable building and use of codecs PCMA, PCMU, GSM and G726 in 
Android version of Linphone?

2. How can I add other codes, say, Codec2?

-- 
Konstantin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]