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")
|
Log.i(TAG, "Hardware AEC is NOT available")
|
||||||
|
|
||||||
if (AutomaticGainControl.isAvailable()) {
|
if (AutomaticGainControl.isAvailable()) {
|
||||||
val agc = AcousticEchoCanceler.create(sessionId)
|
val agc = AutomaticGainControl.create(sessionId)
|
||||||
if (agc != null) {
|
if (agc != null) {
|
||||||
BaresipService.agcAvailable = true
|
BaresipService.agcAvailable = true
|
||||||
agc.release()
|
agc.release()
|
||||||
|
|||||||
Reference in New Issue
Block a user