Revert "No need to check webrtc_aecm module when config is initialized"
This reverts commit adfd15e1330c2040844e3c03d54502ea553187d5.
This commit is contained in:
@ -20,7 +20,6 @@ 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,6 +115,9 @@ 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