Overview
The AVPro Video XR Composition Layers package allows for rendering of video content from an AVPro Video MediaPlayer instance directly to the device runtime to be composited to the final display shown to the user. The benefits of this are as follows:
- Improved clarity and sharpness due to not having to go through the standard eye projection.
- Improved performance as we no longer have to copy the video images over to Unity in order to render them.
- Reduced memory consumption as we no longer need to maintain texture buffers to hold the video images currently being rendered from by Unity
Types of composition layer
The AVPro Video XR Composition Layers package supports the following layer types:
- AVPro Video - Quad: a flat, rectangular, "in-scene" display area.
- AVPro Video - Cylinder: a curved, rectangular, "in-scene" display.
- AVPro Video - Equirect Mesh: a spherical, "in-scene" display area for equirectangular video content. Only the inside of the sphere is visible.
- AVPro Video - Stereo: a layer type used in combination with one of the above layer types to provide support for stereoscopic video playback.
Layer extension components
The AVPro Video XR Composition Layers package provides the following layer extensions:
- AVPro Video - MediaPlayer: allows for setting a specific MediaPlayer instance for a layer.
MV-HEVC
The AVPro Video XR Composition Layers package allows for playback of MV-HEVC content when using Android XR on supported hardware. On devices that do not support Android XR or MV-HEVC only the hero eye will be shown.
Important
Android XR is required for MV-HEVC playback at this time.
Note
MV-HEVC support is NOT available when using the Trial edition of AVPro Video.