AudioManager.setMicrophoneMute(mute) can cause SecurityException
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Domain
- audio-video-rtc, mobile-dev
Research direction
Start with AudioManager.setMicrophoneMute(mute) and reproduce the SecurityException on a device with multiple user profiles. Investigate how WebRTC currently releases the microphone and determine whether a safe, supported alternative exists; done means the exception is avoided or the limitation is clearly documented.
Written by the indexing model from the issue text.
Description
If there are other user profiles on the same device, AudioManager.setMicrophoneMute() method can throw SecurityException with message: requires android.permission.INTERACT_ACROSS_USERS_FULL or android.permission.INTERACT_ACROSS_USERS to access user 0.
I don't understand this very well but it seems to me that microphone can't be release in this way and WebRTC doesn't have a better way to free microphone resource. Some other video conferencing apps keep using microphone even when muted, like Google Meet.
Do you have any thoughts on this?
- Dominant language
- Kotlin
- Stars
- 890
- Forks
- 109
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- No contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GetStream/webrtc-android
-
Difficulty 5/5 Over a week Newbie friendliness 30/100
GetStream/webrtc-android#323 ·
-
[Android] Native Crash (SIGSEGV) injecting Bitmap from PixelCopy into WebRTC VideoSource (GetStream)Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
GetStream/webrtc-android#320 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
GetStream/webrtc-android#319 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
GetStream/webrtc-android#317 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
GetStream/webrtc-android#316 · 4 comments ·
All issues in GetStream/webrtc-android
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
krelltunez/dayGLANCE#2445 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
EANs strippenOpengood first issue prio:P3
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
haritpanchal/WakeGuard#16 ·
-
PathSegmentTemplateMatcher accepts conflicting captures for repeated variable namesPossibly taken @Christiansada claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
modelcontextprotocol/kotlin-sdk#1217 ·
Maintainers usually reply within 3 days