MediaSFU Shared
    Preparing search index...

    Interface MediaPermission

    interface MediaPermission {
        allowed: boolean;
        reason: string;
        needsApproval: boolean;
    }
    Index

    Properties

    allowed: boolean

    True when turning this media ON would be accepted right now.

    reason: string

    Empty when allowed; otherwise the reason, phrased for a user.

    needsApproval: boolean

    True when enabling is possible but needs the host to approve first (audioSetting/videoSetting of 'approval'). The control still works — it raises a request rather than turning media on immediately.