Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Microphone is muted after granted permission in app settings #1474

Open
3 tasks done
rbuiten opened this issue Nov 27, 2023 · 1 comment
Open
3 tasks done

[BUG] Microphone is muted after granted permission in app settings #1474

rbuiten opened this issue Nov 27, 2023 · 1 comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that

Comments

@rbuiten
Copy link

rbuiten commented Nov 27, 2023

Describe the bug
When users will not accept the microphone permission the SDK will get a microphone_not_functioning returned from the diagnostic flag listener. This can be possible because the permission is not granted, however we do set the outgoing audio to muted when users do not have granted the permission. After the permission is granted by the user (via settings), we Unmute the outgoing audio. Then the audio state is updated to unmuted, but the microphone is still not working. When users grant the permission or already have permission it works well. So it has something to do with the permission.

To Reproduce
Steps to reproduce the behavior:

  • start video call
  • check for camera / audio permission
  • deny the audio permission
  • go to the settings
  • give audio permission
  • go back to video call
  • unmute the video call
  • audio should be unmuted and the others will hear you

Expected behavior
We expect that if the user has given permission and the microphone is unmuted the others will hear you

Setup (please complete the following information):

  • OS: Android, Pixel 8, Android 14 (but also on other models)
  • IDE : Android Studio
  • Version of the Library used: 2.5.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

  • Bug Description Added
  • Repro Steps Added
  • Setup information Added
@github-actions github-actions bot added customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that labels Nov 27, 2023
@lucianopa-msft
Copy link
Member

This can be possible because the permission is not granted, however we do set the outgoing audio to muted when users do not have granted the permission.

Probably and implementation detail issue as a permission missing is indeed causes the process to loose the access to hardware mic which can be perceived as mic not working.

Then the audio state is updated to unmuted, but the microphone is still not working. When users grant the permission or already have permission it works well.

This I would be expected behavior IIUC, so I don't think there is an issue in that case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
customer-reported Issues that are reported by GitHub users external to the Azure organization. needs-triage Workflow: This is a new issue that needs to be triaged to the appropriate team. question The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Projects
None yet
Development

No branches or pull requests

2 participants