- Start publishing to a session, notice that Android OS now reports that camera and microphone is being used by the app, which is fine.
- Call session.onPause() followed by publisher.publishAudio = false.
- (Optional) Move application into background by pressing Home button.
- Android OS indicates that camera is no longer being used, but microphone is still being used by the application.
Although it does not affect usability of the app it is bad in terms of user privacy perspective - the user might think the app is still recording audio while it is in background, which is scary.
Is there other methods I can call to turn off the microphone access totally, just like the camera?