MediaSFU Shared
    Preparing search index...

    Interface ParticipantMediaState

    interface ParticipantMediaState {
        participant: Participant | null;
        name: string;
        isSelf: boolean;
        isHost: boolean;
        hasVideo: boolean;
        hasAudio: boolean;
        muted: boolean;
        videoProducerId: string;
        audioProducerId: string;
    }
    Index

    Properties

    participant: Participant | null
    name: string

    The participant's own display name, or '' when unresolved.

    isSelf: boolean

    True when this row is the local user.

    isHost: boolean

    True when the participant is a host (islevel '2').

    hasVideo: boolean

    True when the participant is publishing a camera.

    hasAudio: boolean

    True when the participant is publishing a microphone.

    muted: boolean

    True when the participant's microphone is muted.

    videoProducerId: string

    The camera producer id, or '' when not publishing.

    audioProducerId: string

    The microphone producer id, or '' when not publishing.