Fixed creation of automatic gain control
This commit is contained in:
@ -1009,7 +1009,7 @@ object Utils {
|
||||
Log.i(TAG, "Hardware AEC is NOT available")
|
||||
|
||||
if (AutomaticGainControl.isAvailable()) {
|
||||
val agc = AcousticEchoCanceler.create(sessionId)
|
||||
val agc = AutomaticGainControl.create(sessionId)
|
||||
if (agc != null) {
|
||||
BaresipService.agcAvailable = true
|
||||
agc.release()
|
||||
|
||||
Reference in New Issue
Block a user