MediaSFU Shared
    Preparing search index...

    Variable launchRecordingConst

    launchRecording: LaunchRecordingType = ...

    Launches the recording process based on various conditions and updates the UI accordingly.

    The options for launching the recording.

    Function to update the visibility of the recording modal.

    Indicates if the recording modal is currently visible.

    Function to show an alert message.

    Indicates if the recording launch should be stopped.

    Indicates if the recording can be launched.

    Indicates if audio recording is supported.

    Indicates if video recording is supported.

    Function to update the recording capability.

    Function to update the cleared-to-record status.

    Indicates if the recording has started.

    Indicates if the recording is paused.

    Indicates if the local UI mode is active.

    launchRecording({
    updateIsRecordingModalVisible: (visible) => console.log(`Modal visible: ${visible}`),
    isRecordingModalVisible: false,
    showAlert: (alert) => console.log(alert.message),
    stopLaunchRecord: false,
    canLaunchRecord: true,
    recordingAudioSupport: true,
    recordingVideoSupport: true,
    updateCanRecord: (canRecord) => console.log(`Can record: ${canRecord}`),
    updateClearedToRecord: (cleared) => console.log(`Cleared to record: ${cleared}`),
    recordStarted: false,
    recordPaused: false,
    localUIMode: false,
    })