Capturing images while using device stream on ML hub

Only one application can access a given camera stream at a time. Currently only the main camera stream supports Mixed Reality Capture. Which means that your application cannot record this type of content when Device Stream is active.

That said, you can record the device stream session from the Magic Leap Hub by selecting the camera icon on the top toolbar. This method avoids trying to access the stream multiple times.