Low framerate on iOS (< 20fps) results in talking through a potato chip bag?

We are trying drastically to improve our FPS on iOS but after the phones start to throttle themselves, the voice quality gets quite bad. on older devices (iphone 6s, iphone 8) the audio sounds like someone is rubbing a potato chip bag against the speaker the whole time.

We have tried to make improvements by changing the settings of the voice, we think we have found the best settings, but they are not good enough to use:

Mic Type = Photon
No DSP Script
Bitrate 15000
Sampling Rate 16kz
Frame Duration 40ms
Unreliable Mode

are there any other tricks to this? Has anyone else experienced this with iOS and found a better solution?

pun 2.15
voice 2.17.1


  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @gergtrom,

    Just to be clear.
    Are you saying the <20fps is a result of adding Photon Voice to your iOS app?
    or you are asking how to optimize Photon Voice to work in iOS even with low framerate?
  • The latter. Photon voice needs to work with lower frame rates

  • Thoughts on this?
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @gergtrom,

    We have something for you to try but it will be available in the next update.
    The idea is to optimize playback in Speaker to rely less on Unity's MonoBehaviour.Update.

    Thank you for your patience and understanding!
  • looking forward to it. Thank you
  • Is it included in the new release today?

    v2.16.1 (April 30th, 2020)
    PUN2: v2.18.1 (624dae8c)
    PhotonVoiceApi: revision 5464
  • JohnTube
    JohnTube ✭✭✭✭✭

    Try it please.
    We have worked on the Speaker to optimize playback.

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hey @gergtrom,

    Any updates on this?