Files
cinny/src/app/plugins/call/CallControlState.ts
T

30 lines
654 B
TypeScript
Raw Normal View History

2026-03-07 18:03:32 +11:00
export class CallControlState {
public readonly microphone: boolean;
public readonly video: boolean;
public readonly sound: boolean;
public readonly screenshare: boolean;
public readonly spotlight: boolean;
public readonly screenshareAudioMuted: boolean;
constructor(
microphone: boolean,
video: boolean,
sound: boolean,
screenshare = false,
spotlight = false,
screenshareAudioMuted = false,
) {
2026-03-07 18:03:32 +11:00
this.microphone = microphone;
this.video = video;
this.sound = sound;
this.screenshare = screenshare;
this.spotlight = spotlight;
this.screenshareAudioMuted = screenshareAudioMuted;
2026-03-07 18:03:32 +11:00
}
}