Skip to main content

8 docs tagged with "capture"

View All Tags

Android Capture Commands

The following list of adb commands provides you with options for screen capture modes available on the Magic Leap 2 headset.

Camera2

The Magic Leap 2 supports the Android Camera2 NDK APIs. With Android Camera allows developers to capture real and virtual content inside their applications. While the Magic Leap 2 has only one physical, it is presented as 3 separate devices in the API. The Main Camera (Camera Id 0) and Mixed Reality Camera (Camera Id 3) are mutually exclusive, however they can be accessed even while the CV Camera (Camera Id 1) is being used.

Capture

The Capture view allows you to record high quality video at up to 4K resolution and audi. While recording is active, the video stream in the Capture view is stopped. This is because the cameras on your Magic Leap 2 are being used to record video directly onto the device and cannot send the video stream signal to the hub. If you want to view a video stream in the hub of what you see in the headset, then use the Stream view instead.

Device Stream

Stream and capture content from your Magic Leap device in the Magic Leap Hub 2.0 (ML Hub 2.0). This guide will cover the following topics:

Magic Leap Spectator

Magic Leap Spectator (ML Spectator) is a mobile application that makes it easy for anyone to capture and share high quality mixed reality content streamed from a Magic Leap 2 device. This powerful application supports a wide variety of use cases, for example:

MLCamera

The Magic Leap 2 MLCamera API allows developers to capture real and virtual content inside their applications. While the Magic Leap 2 has only one camera for capturing content, two separate streams can be access from the camera at the same time. This allows you to create applications that can stream the user's point of view, while using the camera to perform computer vision tasks.

System Capture

The Capture App allows you to take screenshots and screen recordings on the Magic Leap 2 from any app or platform. Below you'll find instructions on capturing media and accessing it on-device, in the Magic Leap Hub (ML Hub).