No need to check webrtc_aecm module when config is initialized

This commit is contained in:
Juha Heinanen
2024-01-12 03:01:41 +02:00
parent 0a0a2356b8
commit adfd15e133
2 changed files with 1 additions and 3 deletions

View File

@ -20,6 +20,7 @@ rtp_stats yes
rtp_timeout 60
rtp_rxmode thread
module opensles.so
module webrtc_aecm.so
module stun.so
module turn.so
module ice.so

View File

@ -115,9 +115,6 @@ object Config {
if ("${module}.so" in previousModules)
config = "${config}module ${module}.so\n"
if ("webrtc_aecm.so" in previousModules)
config = "${config}module webrtc_aecm.so\n"
val opusBitRate = previousVariable("opus_bitrate")
config = if (opusBitRate == "")
"${config}opus_bitrate 28000\n"