hostname including protocol. i.e. 'https://
Optional
apiKey: stringAPI Key, can be set in env var LIVEKIT_API_KEY
Optional
secret: stringAPI Secret, can be set in env var LIVEKIT_API_SECRET
Optional
sip: SIPGrantCreates a new room. Explicit room creation is not required, since rooms will be automatically created when the first participant joins. This method can be used to customize room settings.
Removes a participant in the room. This will disconnect the participant and will emit a Disconnected event for that participant. Even after being removed, the participant can still re-join the room.
Sends data message to participants in the room
opaque payload to send
delivery reliability
optionally specify a topic and destinationSids (when destinationSids is empty, message is sent to everyone)
Sends data message to participants in the room
opaque payload to send
delivery reliability
Optional
destinationSids: string[]optional. when empty, message is sent to everyone
Updates a participant's state or permissions
target room
participant identity
participant fields to update
Updates a participant's state or permissions
target room
participant identity
Optional
metadata: stringOptional
permission: Partial<ParticipantPermission>Optional
name: string
Client to access Room APIs