Glasses' RGB camera can also work on Android phones besides the above. However, the compatibility is not guaranteed. For the full list, please refer to Device Compatibility.
Developer Guide
Import the NRSDK
Import NRSDKForUnity_1.9.1.unitypackage in the package.
Open the Sample Scene
In the Unity Project window, you can find the CameraCaptureDemo sample in: Assets > NRSDK >Demos > RGBCamera-Record.
Inspect the Sample Code
See CameraCaptureController.cs , located in Assets/NRSDK/Demos/RGBCamera/Scripts/CameraCaptureController.cs for an example on how to get the texture of RGB Camera.
See VideoCapture2LocalExample.cs, located in Assets/NRSDK/Demos/Record/Scriptsfor an example on how to implement video capture
Build and Run the Sample App
Audio record needs the permission of “android.permission.RECORD_AUDIO”, Add it to your “AndroidManifest.xml” file in “Assets/Plugin”.
The Previewer is used to preview live images in real time, for debugging purposes. Click the APP key of the controller to show or hide it.
Click the Start button to start video capture.
Click the Stop button to stop video capture. It will save the video file to “Application.persistentDataPath” path.