Implement the new co website system
This commit is contained in:
parent
1ee0b28f66
commit
da8cc661b7
10 changed files with 761 additions and 159 deletions
|
@ -181,11 +181,17 @@ class JitsiFactory {
|
|||
}, jitsiWidth);
|
||||
}
|
||||
|
||||
public async stop(): Promise<void> {
|
||||
public stop() {
|
||||
if (!this.jitsiApi) {
|
||||
return;
|
||||
}
|
||||
await coWebsiteManager.closeCoWebsite();
|
||||
|
||||
const jitsiCoWebsite = coWebsiteManager.searchJitsi();
|
||||
|
||||
if (jitsiCoWebsite) {
|
||||
coWebsiteManager.closeJitsi();
|
||||
}
|
||||
|
||||
this.jitsiApi.removeListener("audioMuteStatusChanged", this.audioCallback);
|
||||
this.jitsiApi.removeListener("videoMuteStatusChanged", this.videoCallback);
|
||||
this.jitsiApi?.dispose();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue