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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20090226/70e3ff1a/attachment.html>