about codec !!!

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

 



On Sun, May 17, 2009 at 2:46 AM, S. M. Nazmul Hasan (Opu)
<apus29 at gmail.com>wrote:

>             const pj_str_t ID_ALL = {"*", 1};
>             pj_str_t codec = {NULL, 0};
>             codec = pj_str("GSM");
>             if (codec.slen) {
>                 pj_status_t status;
>
>                 pjsua_codec_set_priority(&ID_ALL,
> PJMEDIA_CODEC_PRIO_DISABLED);
>
>                 status = pjsua_codec_set_priority(&codec,
>                                   PJMEDIA_CODEC_PRIO_NORMAL);
>                 if (status == PJ_SUCCESS)
>                 PJ_LOG(3,(THIS_FILE, "%s activated", codec.ptr));
>                 else
>                 PJ_LOG(3,(THIS_FILE, "Failed activating %s, err=%d",
>                       codec.ptr, status));
>
> it will enable gsm codec and disable all codec...
>
>
> and use "AMR" to enable AMR codec....
>
> cheers!!
>
> On Sun, May 17, 2009 at 3:08 PM, rony jak <ronnyjak at googlemail.com> wrote:
>
>>
>>
>> On Thu, May 14, 2009 at 4:16 AM, rony jak <ronnyjak at googlemail.com>wrote:
>>
>>>
>>>
>>> On Wed, May 13, 2009 at 11:07 PM, rony jak <ronnyjak at googlemail.com>wrote:
>>>
>>>> hello :) I'm using pjproject1.1 with APS enabled  when i run
>>>> symbian_ua_gui it show me that it detect G711 codec and i want to change it
>>>> to any other one like AMR or GSM  .... is this possible on pjsip ? if yes
>>>> how ?? :)
>>>>
>>>
>>>  this seems like  impossible  to be done :(
>>>
>>> ooh no , please if any one know anything about my problem can help me :(
>>  why no answer ??? is it impossible ???? :) i don't think so
>>
>> _______________________________________________
>> Visit our blog: http://blog.pjsip.org
>>
>> pjsip mailing list
>> pjsip at lists.pjsip.org
>> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>>
>>
>
>
> --
> S. M. Nazmul Hasan Opu
> Software Engineer
> R & D Application
> Dhaka, Bangladesh
> Mob: +880 1712 901 764
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>
> really i don't know how can i thank you :) it help me a lot it work so
good ;) but when i set any codec instead of GSM call hangup with "Not
Acceptable Here" , could you explain me what's wrong ? and also what about
APS that alway detect G.711 with frame size 160 ?? i want to change this
G.711 because bandwidth :)

BTW : i'am using Freeswitch as a server

thanks again
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090517/19fd2418/attachment-0001.html>


[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