Hiyve Components - v1.0.0
    Preparing search index...

    Interface AudioProcessingState

    Audio processing state for feedback detection.

    React Native adaptation: This is a simplified version of the web AudioProcessingState. The Web Audio API features (GainNode, AudioValidation, audioInputMonitor) are not available in React Native, so this type only includes the feedbackDetected flag which is driven by server-side signaling events.

    Feedback warning:

    function FeedbackWarning() {
    const { feedbackDetected } = useAudioProcessing();

    if (!feedbackDetected) return null;

    return (
    <View style={styles.warning}>
    <Text>Audio feedback detected. Try using headphones.</Text>
    </View>
    );
    }
    interface AudioProcessingState {
        feedbackDetected: boolean;
    }
    Index

    Properties

    Properties

    feedbackDetected: boolean

    Whether audio feedback/echo is currently detected