asterisk/codecs.conf

Sat, 03 Oct 2009 16:18:52 +0200

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Sat, 03 Oct 2009 16:18:52 +0200
changeset 220
a6cd892638c1
permissions
-rw-r--r--

Update version, adjust corresponding buildconf, and correct logic.
1: Make minor corrections and improvements to scripts patch logic.
2: Upgrade to most recent stable release version 3.0.2.
3: Force selection of a single db backend, as multiple ones never
were supported (changing 'with_db<end>' identifiers accordingly.)
4: Unfortunately add gawk requirement although only partly needed.
5: Add openssl::with_threads requirement to solve strange and hard
to debug problems on Solaris leading to connection failures:

'host-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:1408F10B:SSL routines:SSL3_GET_RECORD:wrong version number'

and

'host-dir JobId 40: Fatal error: TLS negotiation failed with FD at "back1.host.com:9102"'

     1 ;[speex]
     2 ; CBR encoding quality [0..10]
     3 ; used only when vbr = false
     4 ;quality => 3
     6 ; codec complexity [0..10]
     7 ; tradeoff between cpu/quality
     8 ;complexity => 2
    10 ; perceptual enhancement [true / false]
    11 ; improves clarity of decoded speech
    12 ;enhancement => true
    14 ; voice activity detection [true / false]
    15 ; reduces bitrate when no voice detected, used only for CBR
    16 ; (implicit in VBR/ABR)
    17 ;vad => true
    19 ; variable bit rate [true / false]
    20 ; uses bit rate proportionate to voice complexity
    21 ;vbr => true
    23 ; available bit rate [bps, 0 = off]
    24 ; encoding quality modulated to match this target bit rate
    25 ; not recommended with dtx or pp_vad - may cause bandwidth spikes
    26 ;abr => 0
    28 ; VBR encoding quality [0-10]
    29 ; floating-point values allowed
    30 ;vbr_quality => 4
    32 ; discontinuous transmission [true / false]
    33 ; stops transmitting completely when silence is detected
    34 ; pp_vad is far more effective but more CPU intensive
    35 ;dtx => false
    37 ; preprocessor configuration
    38 ; these options only affect Speex v1.1.8 or newer
    40 ; enable preprocessor [true / false]
    41 ; allows dsp functionality below but incurs CPU overhead
    42 ;preprocess => false
    44 ; preproc voice activity detection [true / false]
    45 ; more advanced equivalent of DTX, based on voice frequencies
    46 ;pp_vad => false
    48 ; preproc automatic gain control [true / false]
    49 ;pp_agc => false
    50 ;pp_agc_level => 8000
    52 ; preproc denoiser [true / false]
    53 ;pp_denoise => false
    55 ; preproc dereverb [true / false]
    56 ;pp_dereverb => false
    57 ;pp_dereverb_decay => 0.4
    58 ;pp_dereverb_level => 0.3
    61 ;[plc]
    62 ; for all codecs which do not support native PLC
    63 ; this determines whether to perform generic PLC
    64 ; there is a minor performance penalty for this
    65 ;genericplc => true

mercurial