Ignore:
Timestamp:
May 19, 2006 3:58:13 PM (18 years ago)
Author:
bennylp
Message:

Install VAD in g711, gsm, and speex, and add the DTX support in stream.c. Also changed the way the silence detector works, and changed default speex quality/complexity to 10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/conference.c

    r442 r457  
    229229 
    230230    /* Create and init vad. */ 
    231     status = pjmedia_silence_det_create( pool, &conf_port->vad); 
     231    status = pjmedia_silence_det_create( pool,  
     232                                         port->info.clock_rate, 
     233                                         port->info.samples_per_frame, 
     234                                         &conf_port->vad); 
    232235    if (status != PJ_SUCCESS) 
    233236        return status; 
    234237 
    235     pjmedia_silence_det_set_adaptive(conf_port->vad, conf->samples_per_frame); 
     238    pjmedia_silence_det_set_fixed(conf_port->vad, 2); 
    236239 
    237240    /* Save some port's infos, for convenience. */ 
Note: See TracChangeset for help on using the changeset viewer.