diff --git a/stream-webrtc-android/libs/arm64-v8a/libjingle_peerconnection_so.so b/stream-webrtc-android/libs/arm64-v8a/libjingle_peerconnection_so.so index e838dbd20..abbfa238a 100755 Binary files a/stream-webrtc-android/libs/arm64-v8a/libjingle_peerconnection_so.so and b/stream-webrtc-android/libs/arm64-v8a/libjingle_peerconnection_so.so differ diff --git a/stream-webrtc-android/libs/armeabi-v7a/libjingle_peerconnection_so.so b/stream-webrtc-android/libs/armeabi-v7a/libjingle_peerconnection_so.so index d23c1fd3b..b14cc059a 100755 Binary files a/stream-webrtc-android/libs/armeabi-v7a/libjingle_peerconnection_so.so and b/stream-webrtc-android/libs/armeabi-v7a/libjingle_peerconnection_so.so differ diff --git a/stream-webrtc-android/libs/x86/libjingle_peerconnection_so.so b/stream-webrtc-android/libs/x86/libjingle_peerconnection_so.so index 86cc101d3..238ae7cf6 100755 Binary files a/stream-webrtc-android/libs/x86/libjingle_peerconnection_so.so and b/stream-webrtc-android/libs/x86/libjingle_peerconnection_so.so differ diff --git a/stream-webrtc-android/libs/x86_64/libjingle_peerconnection_so.so b/stream-webrtc-android/libs/x86_64/libjingle_peerconnection_so.so index 4537eb925..f98e29ad0 100755 Binary files a/stream-webrtc-android/libs/x86_64/libjingle_peerconnection_so.so and b/stream-webrtc-android/libs/x86_64/libjingle_peerconnection_so.so differ diff --git a/stream-webrtc-android/src/main/java/org/webrtc/ManagedAudioProcessingFactory.java b/stream-webrtc-android/src/main/java/org/webrtc/ManagedAudioProcessingFactory.java new file mode 100644 index 000000000..3f4e5093f --- /dev/null +++ b/stream-webrtc-android/src/main/java/org/webrtc/ManagedAudioProcessingFactory.java @@ -0,0 +1,31 @@ +package org.webrtc; + +/* + * Copyright 2024 The WebRTC project authors. All Rights Reserved. + * + * Use of this source code is governed by a BSD-style license + * that can be found in the LICENSE file in the root of the source + * tree. An additional intellectual property rights grant can be found + * in the file PATENTS. All contributing project authors may + * be found in the AUTHORS file in the root of the source tree. + */ + +/** AudioProcessing factory with lifecycle management and runtime control capabilities. */ +public interface ManagedAudioProcessingFactory extends AudioProcessingFactory { + /** + * Destroys the native AudioProcessing instance. + */ + public void destroyNative(); + + /** + * Checks if the AudioProcessing is enabled. + * @return true if enabled, false otherwise. + */ + public boolean isEnabled(); + + /** + * Sets the enabled state of the AudioProcessing. + * @param enabled The desired enabled state. + */ + public void setEnabled(boolean enabled); +}