2026-03-07 18:03:32 +11:00
|
|
|
export class CallControlState {
|
|
|
|
|
public readonly microphone: boolean;
|
|
|
|
|
|
|
|
|
|
public readonly video: boolean;
|
|
|
|
|
|
|
|
|
|
public readonly sound: boolean;
|
|
|
|
|
|
2026-03-09 14:04:48 +11:00
|
|
|
public readonly screenshare: boolean;
|
|
|
|
|
|
|
|
|
|
public readonly spotlight: boolean;
|
|
|
|
|
|
|
|
|
|
constructor(
|
|
|
|
|
microphone: boolean,
|
|
|
|
|
video: boolean,
|
|
|
|
|
sound: boolean,
|
|
|
|
|
screenshare = false,
|
2026-05-21 23:30:50 -04:00
|
|
|
spotlight = false,
|
2026-03-09 14:04:48 +11:00
|
|
|
) {
|
2026-03-07 18:03:32 +11:00
|
|
|
this.microphone = microphone;
|
|
|
|
|
this.video = video;
|
|
|
|
|
this.sound = sound;
|
2026-03-09 14:04:48 +11:00
|
|
|
this.screenshare = screenshare;
|
|
|
|
|
this.spotlight = spotlight;
|
2026-03-07 18:03:32 +11:00
|
|
|
}
|
|
|
|
|
}
|