Use audio_buffer 20-300 and jitter_buffer_delay 0-20
This commit is contained in:
@@ -9,6 +9,7 @@ audio_player opensles,nil
|
|||||||
audio_source opensles,nil
|
audio_source opensles,nil
|
||||||
audio_alert opensles,nil
|
audio_alert opensles,nil
|
||||||
audio_level no
|
audio_level no
|
||||||
|
audio_buffer 20-300
|
||||||
audio_buffer_mode adaptive
|
audio_buffer_mode adaptive
|
||||||
ausrc_format s16
|
ausrc_format s16
|
||||||
auenc_format s16
|
auenc_format s16
|
||||||
@@ -16,6 +17,7 @@ auplay_format s16
|
|||||||
audec_format s16
|
audec_format s16
|
||||||
rtp_tos 184
|
rtp_tos 184
|
||||||
jitter_buffer_type adaptive
|
jitter_buffer_type adaptive
|
||||||
|
jitter_buffer_delay 0-20
|
||||||
rtp_stats yes
|
rtp_stats yes
|
||||||
dyn_dns yes
|
dyn_dns yes
|
||||||
module opus.so
|
module opus.so
|
||||||
|
|||||||
@@ -94,12 +94,12 @@ object Config {
|
|||||||
if (!config.contains("audio_buffer_mode"))
|
if (!config.contains("audio_buffer_mode"))
|
||||||
config = "${config}audio_buffer_mode adaptive\n"
|
config = "${config}audio_buffer_mode adaptive\n"
|
||||||
|
|
||||||
removeVariable("audio_buffer") // use default 20-160
|
replaceVariable("audio_buffer", "20-300")
|
||||||
|
|
||||||
if (!config.contains("jitter_buffer_type"))
|
if (!config.contains("jitter_buffer_type"))
|
||||||
config = "${config}jitter_buffer_type adaptive\n"
|
config = "${config}jitter_buffer_type adaptive\n"
|
||||||
|
|
||||||
removeVariable("jitter_buffer_delay") // use default 5-10
|
replaceVariable("jitter_buffer_delay", "0-20")
|
||||||
|
|
||||||
if (config.contains("contacts_mode")) {
|
if (config.contains("contacts_mode")) {
|
||||||
BaresipService.contactsMode = variable("contacts_mode")[0].lowercase()
|
BaresipService.contactsMode = variable("contacts_mode")[0].lowercase()
|
||||||
|
|||||||
Reference in New Issue
Block a user