Skip to content

Latest commit

 

History

History
 
 

MediaPlayerSample

README.md

Media Player sample

The Media Playersample shows an immersive video playback experience. It allows users to discover and play videos in a custom immersive environment, editable with the Meta Spatial Editor, or use Passthrough to integrate with the physical environment. Using a native Android view model, it showcases communication between a 2D panel showing the list of available videos the video playback in the immersive enviornment.

Media Player Sample

Highlighted features

The Media Player Sample uses the following Meta Spatial SDK features:

  • 2D Panels: The sample shows how to use two Jetpack Compose based panels ListPanel.kt,MRPanel.kt that get displayed in the immersive environment. Look at the registerPanels function in the MediaPlayerSampleActvity to see how to spawn the panels.
  • Passthrough: The sample provides a toggle for the user to enable the visualization of the physical world within the immersive experience.