Closed VGrytsenko2022 closed 1 year ago
I realized my mistake. the correct code looks like this, everything works, sorry ... this.muteAudio = function () { if (session.isMuted().audio === true) { session.unmute({ audio: true, video: false });
} else if (session.isMuted().audio === false) {
session.mute({
audio: true,
video: false
});
}
}
Next time, questions in the mailing list, please.
Hello Let me ask you a question. Stuck with a problem unmute call. My code // ======== // UNMUTE\MUTE CALL // ========
//UNMUTE this.muteAudio = function () { if (session.isMuted().audio === true) { session.mute({ audio: false, video: false
//MUTE
} else if (session.isMuted().audio === false) { session.mute({ audio: true, video: false
}
//MUTE - Works good //UNMUTE - Sound doesn't come back
Please tell me what is my mistake?