The Premium Media Sample shows an media streaming experience integrated into the users spatial environment. Panels can snap to the walls of the spatial environment and cast reflections using custom shaders. The also shows how to stream 180-degree, stereo, and DRM-protected content.
The Premium Media Sample highlights the following Meta Spatial SDK features:
- MRUK Integration: This sample shows how to snap entities to walls in users' Spatial Environment using MRUK.
- Panel Shaders: This sample shows how to use a panel
SceneTextureto write custom shaders. Panels can cast light onto walls created from MRUK. - 180 Panels: This sample shows how to display media onto 180-degree, equirect panels.
- DRM Protected Streaming: This sample shows how to stream Widevine DRM protected content via Exoplayer and direct-to-surface panels.
- Direct-To-Surface Panels: This sample is an example of how to create a more performant panel that an Exoplayer can directly render to. This is required for DRM.
- Passthrough: This sample provides a toggle for the user to enable the visualization of the physical world within the immersive experience.
- Performant Jetpack Compose: The sample achieves better performance when interacting with Jetpack Compose panels by running the activities on separate processes. This should be done sparingly as activity panels come with additional overhead.
