Couldn't get audio device name.

yohawingyohawing
edited February 27 in Photon Voice
AudioIn.dll couldn't get some audio device name when Microphone Type is "Photon"

//RecorderEditor.cs: 518
photonDeviceIDs[i] = Recorder.PhotonMicrophoneEnumerator.IDAtIndex(i);
string micName = Recorder.PhotonMicrophoneEnumerator.NameAtIndex(i); //return null
int count = 0;
for (int j = 0; j < tempNames.Count; j++)
{
      if (tempNames[j].StartsWith(micName)) // Null Error
      {
          count++;
      }
}

I think AudioIn.dll (Photon_Audio_In_MicEnumerator_NameAtIndex()) can't get utf-8 audio device name.

My Env:
OSX Catalina 10.15.3
System Language: Japanese
Unity2018.4.16f1
PUN 2.16
Photon Voice 2.13

Please check it.

Comments

  • Hi @yohawing,

    Thank you for choosing Photon and for your report!

    I apologize for the delay, sometimes we miss some discussions on the forum, if you don't get an answer you could send an email to [email protected]
    This issue happens in the Unity Editor only or also in a build?
    What do you see in the Unity microphones list?
    Or in the system's microphones list?

    This is indeed new and we want to fix it with your help.
Sign In or Register to comment.