MediaSFU Angular
    Preparing search index...

    Class StoppedRecording

    Service to display an alert message when recording has stopped.

    StoppedRecording

    Provides a method to show an alert indicating that the recording has stopped.

    stoppedRecording

    Options for displaying the alert:

    • state {string}: The state of the recording, typically 'stop'.
    • reason {string}: The reason for stopping the recording.
    • showAlert {Function}: Optional function to show alert messages.

    Resolves when the alert message has been displayed.

    const options = {
    state: 'stop',
    reason: 'User ended recording',
    showAlert: ({ message, duration, type }) => console.log(message)
    };
    stoppedRecordingService.stoppedRecording(options);
    Index

    Constructors

    Methods

    Constructors

    Methods