Terminate call if incoming rtp packets have not been received in 60 sec
This commit is contained in:
@ -21,6 +21,7 @@ audio_jitter_buffer_delay 0-20
|
||||
video_jitter_buffer_type adaptive
|
||||
video_jitter_buffer_delay 0-50
|
||||
rtp_stats yes
|
||||
rtp_timeout 60
|
||||
dyn_dns yes
|
||||
module opus.so
|
||||
module amr.so
|
||||
|
||||
@ -108,6 +108,9 @@ object Config {
|
||||
if (!config.contains("video_jitter_buffer_delay"))
|
||||
config = "${config}video_jitter_buffer_delay 0-50\n"
|
||||
|
||||
if (!config.contains("rtp_timeout"))
|
||||
config = "${config}rtp_timeout 60\n"
|
||||
|
||||
if (config.contains("contacts_mode")) {
|
||||
BaresipService.contactsMode = variable("contacts_mode")[0].lowercase()
|
||||
if (BaresipService.contactsMode != "baresip" &&
|
||||
|
||||
Reference in New Issue
Block a user