Hololight Stream for Unity core component - Camera
Camera
Camera stream is the sending of the client device’s live camera feed to the server application along with some relevant metadata. Hololight Stream provides an API to control additional camera settings of the client device.
For more information on using the camera in Unity with AR Foundation, check out Unity’s documentation on the Camera.
Setup
Setting |
Description |
Enable Camera |
Enables camera stream capture and transmission. |
Resolution and frame rate |
Controls the resolution and frame rate of the camera stream. |
Auto exposure |
Turns on automatic exposure. This means you cannot use the slider to control the level of exposure for the camera. Exposure compensation still works whether auto exposure is on or off. |
| On Microsoft Hololens 2, there is a white light on the front of the device that shows whether the camera is on or not. |
Example
Open the CameraStreamExample scene or drag the "CameraStreamExample" Prefab into a scene. The example scene shows off the camera stream feature, rendering the camera stream onto a canvas and some tools for customization.
XR Stream |
When enabled, the 3D content in the application is rendered onto the real-world video feed from the device’s camera. |
Display metadata |
When enabled, the received metadata is displayed in text format below. |