66 lines
2.8 KiB
YAML
66 lines
2.8 KiB
YAML
type: object
|
|
properties:
|
|
role:
|
|
type: string
|
|
enum: ['moderator', 'publisher']
|
|
description: >
|
|
A role that a participant can have in a room.
|
|
The role determines the permissions of the participant in the room.
|
|
- `moderator`: Can manage the room and its participants.
|
|
- `publisher`: Can publish media streams to the room.
|
|
example: 'moderator'
|
|
permissions:
|
|
type: object
|
|
properties:
|
|
livekit:
|
|
type: object
|
|
properties:
|
|
roomJoin:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can join a room.
|
|
example: true
|
|
room:
|
|
type: string
|
|
description: >
|
|
The ID of the room associated with the participant.
|
|
example: roomId
|
|
canPublish:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can publish media streams to the room.
|
|
example: true
|
|
canSubscribe:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can subscribe to media streams in the room.
|
|
example: true
|
|
canPublishData:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can publish data messages to the room.
|
|
example: true
|
|
canUpdateOwnMetadata:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can update their own metadata.
|
|
example: true
|
|
openvidu:
|
|
type: object
|
|
properties:
|
|
canRecord:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can record the room.
|
|
example: true
|
|
canChat:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can send and receive chat messages in the room.
|
|
example: true
|
|
canChangeVirtualBackground:
|
|
type: boolean
|
|
description: >
|
|
Indicates whether the participant can change virtual background in the room.
|
|
example: true
|