feat: Add webcam basic support
This commit is contained in:
@@ -59,6 +59,7 @@ export interface ChatEventBase {
|
||||
permissions?: Partial<RoomPermissions>;
|
||||
voiceState?: Partial<VoiceState>;
|
||||
isScreenSharing?: boolean;
|
||||
isCameraEnabled?: boolean;
|
||||
icon?: string;
|
||||
iconUpdatedAt?: number;
|
||||
role?: UserRole;
|
||||
@@ -216,6 +217,11 @@ export interface ScreenStateEvent extends ChatEventBase {
|
||||
isScreenSharing: boolean;
|
||||
}
|
||||
|
||||
export interface CameraStateEvent extends ChatEventBase {
|
||||
type: 'camera-state';
|
||||
isCameraEnabled: boolean;
|
||||
}
|
||||
|
||||
export interface VoiceStateRequestEvent extends ChatEventBase {
|
||||
type: 'voice-state-request';
|
||||
}
|
||||
@@ -332,6 +338,7 @@ export type ChatEvent =
|
||||
| VoiceStateEvent
|
||||
| VoiceChannelMoveEvent
|
||||
| ScreenStateEvent
|
||||
| CameraStateEvent
|
||||
| VoiceStateRequestEvent
|
||||
| StateRequestEvent
|
||||
| ScreenShareRequestEvent
|
||||
|
||||
Reference in New Issue
Block a user