MediaSFU Angular
    Preparing search index...

    Class TimeLeftRecording

    Service to display an alert indicating the remaining recording time.

    TimeLeftRecording

    Provides a method to show an alert when the recording is close to its end.

    timeLeftRecording

    Options for the remaining time alert:

    • timeLeft {number}: The time left in seconds before the recording stops.
    • showAlert {Function}: Optional function to display the alert message.
    const options = {
    timeLeft: 30,
    showAlert: ({ message, duration, type }) => console.log(message)
    };
    timeLeftRecordingService.timeLeftRecording(options);
    Index

    Constructors

    Methods

    Constructors

    Methods