Microphone errors on the Oculus Quest

Hello, we're attempting to use the Photon Microphone setting on the Oculus Quest and we are running into an error.

This message is showing up every frame in Logcat.
Error AudioRecord-JNI Error -38 during AudioRecord native read

Using the Unity Microphone setting is working properly, but we would like to use some of the features provided by the Photon Microphone. Any help would be appreciated thanks!

Comments

  • I got some better logs from right before it starts.
    2020/06/29 18:05:17.517 10590 10612 Info [PV] AudioInAEC AudioRecord created: android.media.AudioRecord@ae8fb8a: samplingRate: 44100, channels: 1, recordBufSizeBytes: 14336, enableAEC: true
    2020/06/29 18:05:17.522 10590 10612 Info [PV] AudioInAEC AcousticEchoCanceler created: android.media.audiofx.AcousticEchoCanceler@89355fb, setEnabled res: 0: true -> true
    2020/06/29 18:05:17.527 10590 10612 Info [PV] AudioInAEC NoiseSuppressor created: android.media.audiofx.NoiseSuppressor@6104618, setEnabled res: 0: true -> true
    2020/06/29 18:05:17.532 10590 10612 Debug AudioRecord updateAppOpsRecordAudio: checkOp OP_RECORD_AUDIO for com.nameofgame.game returns: 0 (ALLOWED)
    2020/06/29 18:05:17.535 10590 10612 Error AudioRecord start() status -38
    2020/06/29 18:05:17.536 10590 10843 Info [PV] AudioInAEC thread start
    2020/06/29 18:05:17.537 10590 10612 Info [PV] AudioInAEC AudioRecord buffer set, size: 882
    2020/06/29 18:05:17.537 10590 10843 Error AudioRecord-JNI Error -38 during AudioRecord native read
    
  • JohnTube
    JohnTube ✭✭✭✭✭
    Hi @Tribly01,

    Thank you for choosing Photon!

    Photon Microphone type support is officially not available for Oculus for the time being.
    We will investigate this further but we cannot promise anything nor give you any ETA.

    Thank you for your understanding and comprehension.