Hololight Stream for Unity core component - Microphone
Microphone
Hololight Stream supports the remote capture of the client device’s microphone. An example is in "com.hololight.stream/Samples/Microphone/MicrophoneCaptureExample.cs". Add the "MicrophoneCaptureExample" Prefab to the Scene or add the script to an existing object in the Scene. This example will playback the captured microphone stream from the client in the Unity Scene.
Setup
Create a Hololight.Isar.IsarMicrophoneCapture object To start microphone capturing, use the IsarMicrophoneCapture.
Start() |
Returns an UnityEngine.AudioClip with the captured data, which can be used by the application. |
Stop() |
Stop capturing any microphone data on the client device. |
| Make sure to call IsarMicrophoneCapture.Dispose() when you are finished capturing from the microphone. This includes when stopping the application. This will make sure all allocated resources are uninitialized or destroyed. |
1. Hololight Stream Client for Lenovo VRX and Magic Leap 2 is in maintenance. This means that these versions of Hololight Stream Client is either feature complete or deprecated.