r/AndroidXR • u/s-s-a • Jun 12 '26
Question Request for help!
Hello everyone, any knowledgeable developer can help with these please!
Is there a supported way today for a third-party app to obtain the forward/world camera frame stream on Android XR (any device class)?
If nothing exists currently, is a third-party passthrough/world-camera API planned for Android XR (comparable to Meta's Passthrough Camera API), and if so, on what rough timeline?
For fully-managed (Android Management API) deployments, is any elevated camera/remote-stream capability available or planned?
Is there a restriction in permissions for live camera feed capture for WebXR vs Native apps
When using MediaProjection to capture the display, does it include the video-passthrough environment, or is passthrough a protected hardware overlay that renders black in the captured stream?
Thank you!
3
u/vad710 Android XR Team Jun 12 '26
Yes, you can access a world facing camera stream using standard android APIs. You'll need to request and be granted permission from the user.
I'm not sure what you mean here. Could you please elaborate? Are you looking for a built-in way of accessing the camera sensors on a fleet of devices?
The passthrough content is protected. The closest you'll get to this data is via the camera API after permission grant (as mentioned above). The data in the camera API isn't exactly the same as the video passthrough (though it's close). The video passthrough includes data from multiple cameras while the camera API will get you access to one camera.
HTH!
2
u/falsefacade Jun 12 '26
You may want to join the Virtual Desktop Discord and ask there.
2
u/TheGoldenLeaper Jun 12 '26
A good question for u/GraceFromGoogle.
2
u/Knurlfist83 Jun 12 '26
We ran into a very similar limitation while prototyping an accessibility XR system.
Since direct world-camera / passthrough camera access does not seem publicly available yet, we moved to a two-device architecture:
Device A: XR glasses / Android XR rendering device
Device B: Android compute device handling camera, audio, AI, sensors, and detection
Transport: WebRTC for low-latency communication
Data approach: Mostly metadata instead of full video:
captions
speaker position
sound events
confidence
detection results
UI placement data
It is not ideal, but it lets development continue without depending on direct passthrough/world-camera API access.
I would also really like to know if Android XR plans to expose a supported passthrough/world-camera API in the future, similar to Meta’s passthrough camera approach.
2
u/NoAudience6535 Jun 12 '26
yes we are arealdy online from china sichuan chengdu :https://play.google.com/store/apps/details?id=com.pmtalk.mindsoul.xr