Activate rtp_stats
This commit is contained in:
@@ -18,7 +18,7 @@ rtcp_mux no
|
|||||||
jitter_buffer_type adaptive
|
jitter_buffer_type adaptive
|
||||||
jitter_buffer_delay 5-10
|
jitter_buffer_delay 5-10
|
||||||
jitter_buffer_wish 6
|
jitter_buffer_wish 6
|
||||||
rtp_stats no
|
rtp_stats yes
|
||||||
dyn_dns yes
|
dyn_dns yes
|
||||||
module opus.so
|
module opus.so
|
||||||
module amr.so
|
module amr.so
|
||||||
|
|||||||
@@ -17,6 +17,9 @@ object Config {
|
|||||||
|
|
||||||
config = config.replace("webrtc_aec.so", "webrtc_aecm.so")
|
config = config.replace("webrtc_aec.so", "webrtc_aecm.so")
|
||||||
|
|
||||||
|
if (config.contains("rtp_stats no"))
|
||||||
|
replaceVariable("rtp_stats", "yes")
|
||||||
|
|
||||||
if (!config.contains(Regex("ausrc_format s16"))) {
|
if (!config.contains(Regex("ausrc_format s16"))) {
|
||||||
config = "${config}ausrc_format s16\nauplay_format s16\nauenc_format s16\naudec_format s16\nmodule webrtc_aecm.so\n"
|
config = "${config}ausrc_format s16\nauplay_format s16\nauenc_format s16\naudec_format s16\nmodule webrtc_aecm.so\n"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user