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

    Interface MediaControlsProps

    Props for the MediaControls component

    interface MediaControlsProps {
        colors: ControlBarColors;
        disabled: boolean;
        hasClient: boolean;
        icons: ControlBarIcons;
        isAudioMuted: boolean;
        isHandRaised: boolean;
        isOutputMuted?: boolean;
        isScreenSharing: boolean;
        isVideoMuted: boolean;
        labels: ControlBarLabels;
        onToggleAudio: () => void;
        onToggleHandRaise: () => void;
        onToggleOutput?: () => void;
        onToggleScreenShare: () => void;
        onToggleVideo: () => void;
        showAudioToggle: boolean;
        showHandRaise: boolean;
        showOutputToggle?: boolean;
        showScreenShare: boolean;
        showVideoToggle: boolean;
        styles: ControlBarStyles;
    }
    Index

    Properties

    disabled: boolean
    hasClient: boolean
    isAudioMuted: boolean
    isHandRaised: boolean
    isOutputMuted?: boolean

    Whether the local listener's speaker/output is muted.

    isScreenSharing: boolean
    isVideoMuted: boolean
    onToggleAudio: () => void
    onToggleHandRaise: () => void
    onToggleOutput?: () => void

    Toggle the local speaker/output mute.

    onToggleScreenShare: () => void
    onToggleVideo: () => void
    showAudioToggle: boolean
    showHandRaise: boolean
    showOutputToggle?: boolean

    Show the speaker (output) mute toggle.

    showScreenShare: boolean
    showVideoToggle: boolean