Author Message
AlokKulkarni
Joined: Jan 5, 2017
Messages: 30
Offline
Hello ,
I am using following method for mute and unmute a participant in a call

muteUnmuteParticipant: function (participant, isToBeMuted) {


if(isToBeMuted) {
if (participant && participant.getMuteParticipantAudioCapability()) {
this.participant.mute().then(function () {
console.log("Success mute participant");
}, function () {
console.log("Failed mute participant");
});
}
}else{
if (participant && participant.getUnmuteParticipantAudioCapability()) {
this.participant.unmute().then(function () {
console.log("Success unmute participant");
}, function () {
console.log("Failed unmute participant");
});
}
}
}


When I call this method, it returns success but the participant is not muted. Please note that I have tried out this undocumented API for muting but I did not find any other way to mute. Please help me out on this issue
lfarias
Joined: Oct 7, 2019
Messages: 46
Offline
Hello AlokKulkarni,

Do you still getting this bad behavior?

In case you continue to get errors please create a new ticket including:

  • javascript SDK version

  • browser version

  • complete sdk debug logs



  • Thanks,
    Avaya DevConnect support team
    Go to:   
    Mobile view