Class NoiseCancellationStatusChecker
-
- All Implemented Interfaces:
public final class NoiseCancellationStatusChecker
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleanlibraryPresent
-
Constructor Summary
Constructors Constructor Description NoiseCancellationStatusChecker(Context context, Function0<Boolean> isFlagEnabled, Function0<Boolean> isEnabledFromTemplate)
-
Method Summary
Modifier and Type Method Description final BooleangetLibraryPresent()final BooleanenabledFromDashboard()final InputStreamgetModelStream(Context context)final AvailabilityStatusisNoiseCancellationAvailable()final BooleanenableWebrtcNoiseSuppression()When krisp NC is available, webrtc NC should be off. -
-
Method Detail
-
getLibraryPresent
final Boolean getLibraryPresent()
-
enabledFromDashboard
final Boolean enabledFromDashboard()
-
getModelStream
final InputStream getModelStream(Context context)
-
isNoiseCancellationAvailable
final AvailabilityStatus isNoiseCancellationAvailable()
-
enableWebrtcNoiseSuppression
final Boolean enableWebrtcNoiseSuppression()
When krisp NC is available, webrtc NC should be off. Yes this can cause issues when krisp is available but not enabled. However without this, audio will be muffled for krisp users.
-
-
-
-