hanenehrizi / sipdroid

Automatically exported from code.google.com/p/sipdroid
GNU General Public License v3.0
0 stars 0 forks source link

createOffer,createAnswer audio media format agreement #232

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
version 1.22
in UserAgent.java
createOffer,createAnswer function
when you get a media description like
    m=audio 11576 RTP/AVP 98 3 0 8 101
    a=rtpmap:98 iLBC/8000
    a=rtpmap:3 GSM/8000
    a=rtpmap:0 PCMU/8000
    a=rtpmap:8 PCMA/8000

you need to parse rtpmap description rtpmap:8 PCMA/8000 to know 8 is for 
pcma instead of just parse the "98 3 0 8 101" to say 3 is for GSM/8000.
it could change the mapping by the voip server.

Original issue reported on code.google.com by yuxiao...@gmail.com on 15 Dec 2009 at 1:51

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 3 Feb 2010 at 5:54

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 15 Feb 2010 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by pmerl...@googlemail.com on 15 Feb 2010 at 10:16

GoogleCodeExporter commented 8 years ago
I can see the option of audio codecs, but there no really choice for 
compression...

Original comment by Spon4ik on 16 Feb 2010 at 7:39