typings: update OpenViduMeetPermissions to remove canPublishScreen and organize comments

This commit is contained in:
juancarmore 2025-07-10 00:28:54 +02:00
parent 299e6b0e75
commit 2e623fe24e
2 changed files with 61 additions and 67 deletions

View File

@ -1,4 +1,4 @@
const enum TrackSource { export const enum TrackSource {
/** /**
* @generated from enum value: UNKNOWN = 0; * @generated from enum value: UNKNOWN = 0;
*/ */
@ -22,7 +22,7 @@ const enum TrackSource {
/** /**
* @generated from enum value: SCREEN_SHARE_AUDIO = 4; * @generated from enum value: SCREEN_SHARE_AUDIO = 4;
*/ */
SCREEN_SHARE_AUDIO = 4, SCREEN_SHARE_AUDIO = 4
} }
interface VideoGrant { interface VideoGrant {

View File

@ -2,14 +2,8 @@
* Defines OpenVidu-specific permissions for a participant. * Defines OpenVidu-specific permissions for a participant.
*/ */
export interface OpenViduMeetPermissions { export interface OpenViduMeetPermissions {
canPublishScreen: boolean; // Can publish screen sharing.
// Permissions for recording
canRecord: boolean; // Can start/stop recording the room. canRecord: boolean; // Can start/stop recording the room.
// Permissions for chat
canChat: boolean; // Can send chat messages in the room. canChat: boolean; // Can send chat messages in the room.
canChangeVirtualBackground: boolean; // Can change the virtual background. canChangeVirtualBackground: boolean; // Can change the virtual background.
} }