Participant permissions to pass to every agent spun up by this worker.

Constructors

  • Parameters

    • canPublish: boolean = true
    • canSubscribe: boolean = true
    • canPublishData: boolean = true
    • canUpdateMetadata: boolean = true
    • canPublishSources: TrackSource[] = []
    • hidden: boolean = false

    Returns WorkerPermissions

Properties

canPublish: boolean
canPublishData: boolean
canPublishSources: TrackSource[]
canSubscribe: boolean
canUpdateMetadata: boolean
hidden: boolean