asterisk/codecs.conf

changeset 271
f45355418dfd
equal deleted inserted replaced
-1:000000000000 0:c88ddeca7280
1 ;[speex]
2 ; CBR encoding quality [0..10]
3 ; used only when vbr = false
4 ;quality => 3
5
6 ; codec complexity [0..10]
7 ; tradeoff between cpu/quality
8 ;complexity => 2
9
10 ; perceptual enhancement [true / false]
11 ; improves clarity of decoded speech
12 ;enhancement => true
13
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
18
19 ; variable bit rate [true / false]
20 ; uses bit rate proportionate to voice complexity
21 ;vbr => true
22
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
27
28 ; VBR encoding quality [0-10]
29 ; floating-point values allowed
30 ;vbr_quality => 4
31
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
36
37 ; preprocessor configuration
38 ; these options only affect Speex v1.1.8 or newer
39
40 ; enable preprocessor [true / false]
41 ; allows dsp functionality below but incurs CPU overhead
42 ;preprocess => false
43
44 ; preproc voice activity detection [true / false]
45 ; more advanced equivalent of DTX, based on voice frequencies
46 ;pp_vad => false
47
48 ; preproc automatic gain control [true / false]
49 ;pp_agc => false
50 ;pp_agc_level => 8000
51
52 ; preproc denoiser [true / false]
53 ;pp_denoise => false
54
55 ; preproc dereverb [true / false]
56 ;pp_dereverb => false
57 ;pp_dereverb_decay => 0.4
58 ;pp_dereverb_level => 0.3
59
60
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