select codec from client list

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

 



Hello all
When server send list of codec in INVITE:

a=rtpmap:0 PCMU/8000                              
a=rtpmap:3 GSM/8000                               
a=rtpmap:8 PCMA/8000                              
a=rtpmap:112 AAL2-G726-32/8000                    
a=rtpmap:5 DVI4/8000                              
a=rtpmap:10 L16/8000                              
a=rtpmap:7 LPC/8000                               
a=rtpmap:102 speex/8000                           
a=rtpmap:111 G726-32/8000 

and in my application is list of codec defined as:

a=rtpmap:3 GSM/8000
a=rtpmap:112 L16/48000/2
a=rtpmap:111 L16/48000
a=rtpmap:110 L16/32000/2
a=rtpmap:109 L16/32000
a=rtpmap:108 L16/16000/2
a=rtpmap:107 L16/16000
a=rtpmap:106 L16/8000/2
a=rtpmap:105 L16/8000
a=rtpmap:10 L16/44100/2
a=rtpmap:11 L16/44100
a=rtpmap:9 G722/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:113 iLBC/8000
a=fmtp:113 mode=30
a=rtpmap:104 speex/32000
a=rtpmap:102 speex/8000
a=rtpmap:103 speex/16000

My application do not select first aplication codec
a=rtpmap:3 GSM/8000 but first server codec
a=rtpmap:0 PCMU/8000  

Exists some way how can i set pjsip stack for selecting first codec from client 
and not from server? I want prefer list of codecs from my application.

thanks





[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux