Want to add "a=fmtp:18 annexb=no" in SDP message

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

 



*if* (attr->setting.vad == 0) {
*

#if* *PJMEDIA_HAS_PASSTHROUGH_CODEC_G729
*

*if* (id->pt == *PJMEDIA_RTP_PT_G729*) {
Hi,

>From passthrough.c , actually this block of code dont execute thats why
annexb=no is not including for g729 (aps). It means that VAD is enabled
somehow. Can anyone please tell me how to disable VAD for APS g729
permanently.


     if (attr->setting.vad == 0) {
#if PJMEDIA_HAS_PASSTHROUGH_CODEC_G729
  if (id->pt == PJMEDIA_RTP_PT_G729) {
      /* Signal G729 Annex B is being disabled */
      attr->setting.dec_fmtp.cnt = 1;
      pj_strset2(&attr->setting.dec_fmtp.param[0].name, "annexb");
      pj_strset2(&attr->setting.dec_fmtp.param[0].val, "no");
  }
#endif
     }

I have tried using this (med_cfg.no_vad = *PJ_TRUE*;) line while
initializing pjsua. But result is same . no "annexb=no" attribute there.

In symb.aps_dev.cpp  there is

af->dev_info.ext_fmt[fmt_cnt].vad = *PJ_FALSE*;

this means VAD is disabled right?
On Mon, Sep 6, 2010 at 4:26 PM, S. M. Nazmul Hasan (Opu)
<apus29 at gmail.com>wrote:

> Hi Benny/Nanang,
>
> How to add "a=fmtp:18 annexb=no" in SDP while using APS/VAS direct?
>
> Thanks
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20100906/24b1e84c/attachment.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