MediaSFU Angular
    Preparing search index...

    Class UpdateMediaSettings

    Service for updating media settings including audio, video, screenshare, and chat.

    UpdateMediaSettings

    Provides a method to update multiple media settings at once using specified update functions.

    updateMediaSettings

    Options for updating media settings:

    • settings {Settings}: The settings values to apply.
    • updateAudioSetting {Function}: Function to update the audio setting.
    • updateVideoSetting {Function}: Function to update the video setting.
    • updateScreenshareSetting {Function}: Function to update the screenshare setting.
    • updateChatSetting {Function}: Function to update the chat setting.

    Updates settings directly through the provided functions.

    const settings = ['mute', 'HD', 'enabled', 'disabled'];
    const options = {
    settings,
    updateAudioSetting: (value) => console.log(`Audio setting updated to: ${value}`),
    updateVideoSetting: (value) => console.log(`Video setting updated to: ${value}`),
    updateScreenshareSetting: (value) => console.log(`Screenshare setting updated to: ${value}`),
    updateChatSetting: (value) => console.log(`Chat setting updated to: ${value}`)
    };
    updateMediaSettingsService.updateMediaSettings(options);
    Index

    Constructors

    Methods

    Constructors

    Methods