enabling no vad

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

 



take a look my sample code at http://code.google.com/p/openmediaengine/

there is a function demo how to enable VAD, payload, RFC 2833 when
creating stream.

On Fri, Feb 27, 2009 at 6:17 AM, anass kartit <anassk at gmail.com> wrote:
> Hi,
> Thanks for your answer, when should I call the function
> pjmedia_codec_mgr_get_default_param?
> Anass Kartit
>
>
>
> On Wed, Feb 25, 2009 at 9:14 AM, yyy <yyypublic at googlemail.com> wrote:
>>
>> anass kartit <anassk <at> gmail.com> writes:
>>
>> >
>> >
>> > Hi,
>> > how can I add no_vad to streamutil.c , if I understand correctly it is
>> controlled at the level of codecs? any example please. ThanksAnass Kartit
>> >
>> >
>>
>> Hello,
>>
>> In create_stream do something like:
>> ? ? ? ?pjmedia_codec_param ? ? ? ? ? ? codec_param;
>>
>> ? ? ? ?info.param = &codec_param;
>> ? ? ? ?status =
>>
>> pjmedia_codec_mgr_get_default_param(pjmedia_endpt_get_codec_mgr(med_endpt),
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? &info.fmt,
>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? info.param);
>> ? ? ? ?if (status != PJ_SUCCESS)
>> ? ? ? ? ? ?return status;
>>
>> ? ? ? ?info.param->setting.vad = 0;
>>
>> Cheers,
>> Yann
>>
>>
>>
>> _______________________________________________
>> 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
>
>
> _______________________________________________
> 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
>
>



[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