The site has a new content architecture. We've added the ability to select your development device to show device-specific content. Please read our blog post Oculus Developer Center Update: Device-centric Documentation Architecture for more information.
All Oculus Quest developers MUST PASS the concept review prior to gaining publishing access to the Quest Store and additional resources. Submit a concept document for review as early in your Quest application development cycle as possible. For additional information and context, please see Submitting Your App to the Oculus Quest Store.
This guide describes how to add and configure mixed reality capture support for your native Android application. Native mixed reality capture is supported for Oculus Quest only.
The OVRMRCLib library is available for download on the OVRMRCLib download page.
Oculus provides OVRMRCLib to our native development packages that can be used to load a camera configuration file and encode / stream MRC output over Wi-Fi to OBS. Details about these processes can be found in Mixed Reality Capture Setup Guide - Oculus Quest.
To add OVRMrcLib to your native Android project:
ovrm_LoadSharedLibrary()to initiate the service
ovrm_GetAPIs().Func()to access low-level functions
ovrm_UnloadSharedLibrary()to terminate the service
To initialize the service:
ovrm_ConfigureGLES()// if GLES
ovrm_SetAvailableQueueIndexVulkan()// if Vulkan
To run the service in your game loop:
ovrm_SyncMrcFrame()with the syncId from the last
ovrm_EncodeMrcFrameWithDualTextures()to submit the RenderTexture handle of the virtual camera.
To terminate the service:
The OVRMRCLib download contains a local web-based reference you can use for additional information on each API. To open, navigate to OVRMRCLib / Doc / html and open
index.html in any browser.