No need to check webrtc_aecm module when config is initialized
This commit is contained in:
@ -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
|
||||
|
||||
@ -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"
|
||||
|
||||
Reference in New Issue
Block a user