Selectively logging out of Photon Voice but not PUN?

Options
Hi - my mobile app uses PUN as well as Photon Voice. However for some modes of game play (basically single-player mode), the Photon Voice component is not needed. Is there a way to log the user out of the photon Voice component so as to not take up my allotted CCU? Any help would be appreciated!

Answers

  • JohnTube
    JohnTube ✭✭✭✭✭
    Options
    Hi @fisherworks,

    Yes this is possible.
    You can handle Voice client separately and you could even break the PUN-Voice clients states sync which is enabled by default.
    Simply call the methods from PhotonVoiceNetwork.Client like PhotonVoiceNetwork.Client.Disconnect.