Oculus Go & Unity: Microphone Real-time Playback
I would like to play the sound get from Oculus Go's microphone through speaker in real-time, but could not made it. I have tried this code, it works well in Editor with headphone's microphone not with Oculus Go, or I have made some mistake?
 using System.Collections;
 using System.Collections.Generic;
 using UnityEngine;
 using UnityEngine.Video;
 
 public class MicrophoneAudio : MonoBehaviour
 {
     void Start()
     {
         AudioSource micAudio = GetComponent<AudioSource>();
         micAudio.clip = Microphone.Start(Microphone.devices[0], true, 10, 44100);
         micAudio.loop = true;
         while(!(Microphone.GetPosition(null) > 0)) { }
         micAudio.Play();
     }
 }
Or this the device limitation? I already observed a lot but have no luck and found only start the microphone with no real time playback one. Hope anyone could help me.:(
Answer by VastDev · Nov 22, 2019 at 09:39 AM
Got the answer here: https://stackoverflow.com/questions/58951537/oculus-go-unity-microphone-real-time-playback
Your answer
 
 
             Follow this Question
Related Questions
Does anyone know of any documentation about this effect? 1 Answer
How can I ignore the head-controlled gaze pointer and just use the oculus go controller? 0 Answers
Mechanics in VR? 0 Answers
Making KeyCodes Equal to Touch Triggers? 1 Answer
How can I change "IK position weight" of finalIK ? 0 Answers
 koobas.hobune.stream
koobas.hobune.stream 
                       
                
                       
			     
			 
                