Photon Voice in Android shows microphone icon after quitting game

Hi as the title says even after i quit the game I can see the microphone icon on notification bar. It does disappear eventually but how do i make it disappear instantly after i quit?. I tried to disconnect before quitting still same problem. Thanks

https://imgur.com/Ol1HEl2

https://imgur.com/8lEeWgI

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited September 2021
    Hi @sibi,

    Thank you for choosing Photon!

    Which Photon Voice version is this?
    Which Unity version?

    Which Microphone Type are you using in the Recorder component?

    What is the Android OS version and device model?

    Did you try enabling Recorder.StopRecordingWhenPaused?
  • photon voice version is 2.26.3

    unity lts 2020

    unity microphone

    android 10, oppo k3

    yes i did. if i lock the screen it goes away. I even set recording to false when push to talk was not enabled.
  • JohnTube
    JohnTube ✭✭✭✭✭
    Since this is Unity microphone type, we can't do anything about it.

    Maybe try Photon microphone type.
  • hi i tried that it is still the same
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @sibi,

    Make sure you have one Recorder component and that Recorder has StopRecordingWhenPaused enabled.
    Or manually stop recording when app is about to be paused.
  • Hi I removed voice chat from my game. But I can confirm that I did all that steps you mentioned. Maybe it is device bug. I saw other games with photon voice having the same issue on my phone.