Recorder.PhotonMicrophoneEnumerator.IDIsValid(id) always returns true if Id is 0 or higher

Please implement actual validation to it.


  • using Photon Voice v2.21 (September 8th, 2020)
  • Hi @SniperED007,

    Thank you for your report!

    Internally we use Recorder.CheckIfPhotonMicrophoneIdIsValid.
    While it's private you could use it by copy pasting it outside of Recorder or change it to public.
    You could use it as follows:
    CheckIfPhotonMicrophoneIdIsValid(Recorder.PhotonMicrophoneEnumerator, id)
    We will see about fixing AudioEnumerator.IDIsValid as it actually contains a TODO.
  • Hi @SniperED007,

    I wanted to let you know that IDIsValid is now working as expected since v2.23.
Sign In or Register to comment.