* add mutation observer hok * add hook to read speaking member by observing iframe content * display speaking member name in call status bar and improve layout * fix shrining * add joined call control bar * remove chat toggle from room header * change member speaking icon to mic * fix joined call control appear in other * show spinner on end call button * hide call statusbar for mobile view when room is selected * make call statusbar more mobile friendly * fix call status bar item align
25 lines
511 B
TypeScript
25 lines
511 B
TypeScript
export class CallControlState {
|
|
public readonly microphone: boolean;
|
|
|
|
public readonly video: boolean;
|
|
|
|
public readonly sound: boolean;
|
|
|
|
public readonly screenshare: boolean;
|
|
|
|
public readonly spotlight: boolean;
|
|
|
|
constructor(
|
|
microphone: boolean,
|
|
video: boolean,
|
|
sound: boolean,
|
|
screenshare = false,
|
|
spotlight = false
|
|
) {
|
|
this.microphone = microphone;
|
|
this.video = video;
|
|
this.sound = sound;
|
|
this.screenshare = screenshare;
|
|
this.spotlight = spotlight;
|
|
}
|
|
}
|