Use adaptive jitter buffer
This commit is contained in:
@@ -14,7 +14,9 @@ auplay_format s16
|
|||||||
audec_format s16
|
audec_format s16
|
||||||
rtp_tos 184
|
rtp_tos 184
|
||||||
rtcp_mux no
|
rtcp_mux no
|
||||||
|
jitter_buffer_type adaptive
|
||||||
jitter_buffer_delay 5-10
|
jitter_buffer_delay 5-10
|
||||||
|
jitter_buffer_wish 6
|
||||||
rtp_stats no
|
rtp_stats no
|
||||||
dyn_dns yes
|
dyn_dns yes
|
||||||
module opus.so
|
module opus.so
|
||||||
|
|||||||
@@ -86,6 +86,11 @@ object Config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!config.contains("jitter_buffer_type")) {
|
||||||
|
config = "${config}jitter_buffer_type adaptive\n"
|
||||||
|
config = "${config}jitter_buffer_wish 6\n"
|
||||||
|
}
|
||||||
|
|
||||||
Utils.putFileContents(configPath, config.toByteArray())
|
Utils.putFileContents(configPath, config.toByteArray())
|
||||||
BaresipService.isConfigInitialized = true
|
BaresipService.isConfigInitialized = true
|
||||||
Log.i("Baresip", "Initialized config to '$config'")
|
Log.i("Baresip", "Initialized config to '$config'")
|
||||||
|
|||||||
Reference in New Issue
Block a user