I just started to run the demo test. Please tell me how to solve this error. Thank you!

Failed to get record driver caps. result=60 (Error initializing output device. )
UnityEngine.Microphone:GetDeviceCaps(String, Int32&, Int32&)
MicWrapper:.ctor(String, Int32) (at Assets/Plugins/PhotonVoiceApi/Platforms/Unity/MicWrapper.cs:20)
PhotonVoiceRecorder:createLocalVoiceAudioAndSource() (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:264)
c__Iterator0:MoveNext() (at Assets/PUNVoice/Scripts/PhotonVoiceRecorder.cs:194)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @666,

    Thank you for choosing Photon!

    How to reproduce this error?

    - Unity version
    - Photon Voice version
    - does this happen in Unity Editor or on a specific platform/device?
    - what input and output devices do you have?
  • Unity version- 2018.3.0f2
    photon version 2(pun 2 and voice 2)
    Happening in unity editor and i have not checked on other platforms
    input/output device are my laptop microphone and speaker
  • I am also getting this same error as mentioned
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @GarvGoel_77,

    This is an issue in Unity's Microphone (or sound system).
    Try using Photon microphone type.
    Try another Unity version.