Add seperation of voice channels, creation of new ones, and move around users

This commit is contained in:
2026-03-30 02:11:39 +02:00
parent 83694570e3
commit 727059fb52
19 changed files with 614 additions and 50 deletions

View File

@@ -204,6 +204,13 @@ export interface VoiceStateEvent extends ChatEventBase {
voiceState: Partial<VoiceState>;
}
export interface VoiceChannelMoveEvent extends ChatEventBase {
type: 'voice-channel-move';
roomId: string;
targetUserId: string;
voiceState: Partial<VoiceState>;
}
export interface ScreenStateEvent extends ChatEventBase {
type: 'screen-state';
isScreenSharing: boolean;
@@ -323,6 +330,7 @@ export type ChatEvent =
| RoomPermissionsUpdateEvent
| HostChangeEvent
| VoiceStateEvent
| VoiceChannelMoveEvent
| ScreenStateEvent
| VoiceStateRequestEvent
| StateRequestEvent