16 lines
412 B
TypeScript
16 lines
412 B
TypeScript
export class CallControlState {
|
|
public readonly microphone: boolean;
|
|
|
|
public readonly video: boolean;
|
|
|
|
public readonly screenshare: boolean;
|
|
|
|
public readonly spotlight: boolean;
|
|
|
|
constructor(microphone: boolean, video: boolean, screenshare = false, spotlight = false) {
|
|
this.microphone = microphone;
|
|
this.video = video;
|
|
this.screenshare = screenshare;
|
|
this.spotlight = spotlight;
|
|
}
|
|
}
|