plugNmeet JS SDK - v2.0.3
    Preparing search index...

    Type Alias ParticipantPermission

    ParticipantPermission: Message<"livekit.ParticipantPermission"> & {
        canSubscribe: boolean;
        canPublish: boolean;
        canPublishData: boolean;
        canPublishSources: TrackSource[];
        hidden: boolean;
        recorder: boolean;
        canUpdateMetadata: boolean;
        agent: boolean;
        canSubscribeMetrics: boolean;
    }

    Type Declaration

    • canSubscribe: boolean

      allow participant to subscribe to other tracks in the room

      from field: bool can_subscribe = 1;

    • canPublish: boolean

      allow participant to publish new tracks to room

      from field: bool can_publish = 2;

    • canPublishData: boolean

      allow participant to publish data

      from field: bool can_publish_data = 3;

    • canPublishSources: TrackSource[]

      sources that are allowed to be published

      from field: repeated livekit.TrackSource can_publish_sources = 9;

    • hidden: boolean

      indicates that it's hidden to others

      from field: bool hidden = 7;

    • recorder: boolean

      indicates it's a recorder instance deprecated: use ParticipantInfo.kind instead

      from field: bool recorder = 8 [deprecated = true];

    • canUpdateMetadata: boolean

      indicates that participant can update own metadata and attributes

      from field: bool can_update_metadata = 10;

    • agent: boolean

      indicates that participant is an agent deprecated: use ParticipantInfo.kind instead

      from field: bool agent = 11 [deprecated = true];

    • canSubscribeMetrics: boolean

      if a participant can subscribe to metrics

      from field: bool can_subscribe_metrics = 12;

    from message livekit.ParticipantPermission