[Android]: call.isMuted() always returns false in call.addOnIsMutedChangedListener() when muted remotely by host #995
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Communication
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Description
When a user unmutes himself on android app and then is muted remotely from the Teams app by the host, call.addOnIsMutedChangedListener() listener is called, but inside this listener, call.isMuted() always returns false.
Steps to reproduce the behavior:
Code Snippet
call.addOnIsMutedChangedListener(propertyChangedEvent -> {
Log.i(TAG, "Call ID[" + call.getId() + "] has " + (call.isMuted() ? "" : "NOT ") + "been MUTED");
//call.isMuted() returns false
});
Expected behavior
call.addOnIsMutedChangedListener(propertyChangedEvent -> {
Log.i(TAG, "Call ID[" + call.getId() + "] has " + (call.isMuted() ? "" : "NOT ") + "been MUTED");
//call.isMuted() should return true once host mutes the user from Teams app
});
Setup (please complete the following information):
Additional context
The listener was working as expected in version 1.2.1-beta.1. This issue exists in all the versions after 1.2.1-beta.1
The text was updated successfully, but these errors were encountered: