Video SDK Addon

Overview

The Video SDK Addon provides complementary components to the Video SDK. These additional elements can evolve independently and bring new features without requiring any change to the Video SDK itself.

Download

VersionRelease DateDownload
1.0Nov 27, 2026Photon Video SDK Addon 1.0

Installation

The Video SDK Addon is provided as a .unitypackage, which allows easy importing into Unity: drag and drop the file into the project panel of the Editor or select the menu Assets -> Import Package -> Custom Package....

VideoSDK addon package installation
VideoSDK addon package installation

Addons

Platform-specific video senders

In addition to the Video SDK, you may need additional components to stream video on some specific devices. We provide some ready-to-use video senders for some platforms (i.e. Meta Quest, Meta Wearables, PICO, etc.). These are TextureVideoStreamSender implementations covering platform-specific requirements.

Meta Quest

MetaPassthroughCameraVideoStreamSender streams the Meta Quest passthrough camera.

Requirements:

  • Meta MR Utility Kit (com.meta.xr.mrutilitykit). The Meta Quest sender assembly only compiles when this package is installed.
  • A PassthroughCameraAccess component (from MRUK) in the scene, with a PassthroughCameraAccessPermissionWaiter on the same GameObject. The sender logs an error when one of them is missing.
  • The passthrough camera permission (horizonos.permission.HEADSET_CAMERA) is requested at runtime through the shared PermissionsRequester when the sender starts. The PassthroughCameraAccessPermissionWaiter prevents the Meta SDK from requesting it on its own at startup, so that the permission requests don't conflict.

Main settings:

  • passthroughCameraAccess: the PassthroughCameraAccess to stream (found in the scene when left empty). The stream resolution is the resolution of its texture.

The Fusion cross-platform XR starter uses this sender.

Meta Wearables

MetaWearableVideoSender streams the camera of Meta smart glasses, through the Android phone they are paired with. It relies on the Meta Wearables Device Access Toolkit (DAT) SDK.

Requirements:

  • The glasses paired with the phone in the Meta AI app.
  • The MetaWearablesManager component, which connects to the glasses, registers the application with the Meta AI app and manages the camera access. The sender creates it if the scene doesn't contain one.
  • The Meta Wearables build configuration: Tools > Meta Wearable > Prepare Meta Wearable build configuration adds the Gradle templates the DAT SDK needs to Assets/Plugins/Android and enables the MetaWearablesPlugin Android plugin. Tools > Meta Wearable > Cleanup Meta wearable build configuration reverts it, for instance before building for another platform.
  • A GITHUB_TOKEN environment variable with a GitHub personal access token (classic) that has at least the read:packages scope, so that the Gradle build can download the DAT SDK from GitHub Packages. See SDK for Android setup.

Main settings:

  • quality and frameRate: the glasses camera quality and frame rate, used only when this sender starts the glasses camera itself. They are not the network encoding settings (see the video settings).

The Meta Wearables Camera Streaming sample describes this integration in detail.

PICO

PicoCameraVideoStreamSender streams the PICO passthrough camera (tested on PICO 4 Ultra).

Requirements:

  • PICO Unity Integration SDK 3.4.0 or later (com.unity.xr.picoxr), with OpenXR. The PICO sender assembly only compiles when this package is installed.
  • The Photon Video - PICO Camera Image OpenXR feature, enabled in Project Settings > XR Plug-in Management > OpenXR (Android tab). It requests the XR_PICO_camera_image OpenXR extension, which no PICO SDK feature requests: without it, the camera can't be opened. The sender logs an error when this feature is disabled.
  • The android.permission.CAMERA permission declared in the Android manifest. The sender requests it at runtime through the shared PermissionsRequester before opening the camera.

Main settings:

  • cameraId: the camera to stream (left RGB camera by default).
  • cameraFps: the capture frame rate (30 by default).
  • useCameraResolution: streams at the camera capture resolution. When disabled, the capture resolution closest to the video settings resolution is used, then scaled to it.
  • flipVertically: flips the image before encoding (not needed on PICO 4 Ultra).

The PicoCameraVideoTest scene, in PicoIntegration/PicoSender/Demo, shows the sender in use.

Note: if you need to support a platform not included in this package, you can create your own custom video sender. See Custom TextureVideoStreamSender subclasses for more details.

Back to top