disabling audio/video in jitsi carry over to wa
This commit is contained in:
@@ -135,7 +135,7 @@ export class MediaManager {
|
||||
gameOverlay.classList.remove('active');
|
||||
}
|
||||
|
||||
private enableCamera() {
|
||||
public enableCamera() {
|
||||
this.cinemaClose.style.display = "none";
|
||||
this.cinemaBtn.classList.remove("disabled");
|
||||
this.cinema.style.display = "block";
|
||||
@@ -145,7 +145,7 @@ export class MediaManager {
|
||||
});
|
||||
}
|
||||
|
||||
private async disableCamera() {
|
||||
public async disableCamera() {
|
||||
this.cinemaClose.style.display = "block";
|
||||
this.cinema.style.display = "none";
|
||||
this.cinemaBtn.classList.add("disabled");
|
||||
@@ -161,7 +161,7 @@ export class MediaManager {
|
||||
}
|
||||
}
|
||||
|
||||
private enableMicrophone() {
|
||||
public enableMicrophone() {
|
||||
this.microphoneClose.style.display = "none";
|
||||
this.microphone.style.display = "block";
|
||||
this.microphoneBtn.classList.remove("disabled");
|
||||
@@ -172,7 +172,7 @@ export class MediaManager {
|
||||
});
|
||||
}
|
||||
|
||||
private async disableMicrophone() {
|
||||
public async disableMicrophone() {
|
||||
this.microphoneClose.style.display = "block";
|
||||
this.microphone.style.display = "none";
|
||||
this.microphoneBtn.classList.add("disabled");
|
||||
|
||||
Reference in New Issue
Block a user