Closed NeoSpark314 closed 4 years ago
Sorry for the late reply. Have you managed to solve the problem?
From the log, "getaddrinfo error: No address associated with hostname" was the issue. It means the Quest app can't listen to the TCP port and receive the connection from OBS plugin. Could there be some networking condition of your Quest headset (e.g. WiFi disabled)?
Hi,
thanks for the answer. So far I was not able to resolve the issue. Not sure if it is a basic network issue as I was able to connect with Super Hot. The problem is with my own application where I try to integrate OVRMRCLib. But now that you write it... maybe I need special android permissions in the manifest to allow the connection?
Oh, that's possible. Do you have the "Internet" permission in manifest? MRC uses TCP to connect OBS to your app, so the permission is required.
That was the issue I had. Thanks a lot for your answer and pointing me to this! Now I get the connection and I can continue with (debugging) my integration.
I'm working on integrating the OVRMRCLib 1.0 into the godot_oculus_mobile plugin https://github.com/NeoSpark314/godot_oculus_mobile/tree/mrc) for Oculus Quest. I ran into an issue I'm not sure how to track down further. If this is the wrong channel to ask these questions please redirect me if you can and feel free to close the issue.
I'm using the Mixed Reality Capture tools 3.1 from https://developer.oculus.com/downloads/package/mixed-reality-capture-tools/
When I try to load the plugin inside OBS 24.0.3 the plugin can't be loaded with the following error
In OBS 23.2.1 the plugin loads successfully:
I tested then capturing with Superhot and it works perfectly.
Now I'm trying to integrate OVRMRCLib (Version 1.0 from https://developer.oculus.com/downloads/package/ovrmrclib/) into the godot plugin.
I have the library initialized without error and set the activation mode to automatic. Querying
ovrm_GetAPIs()->GetVersions(&majorVersion, &minorVersion, &patchVersion);
reports version1.44.0
. I callovrmResult result = ovrm_GetAPIs()->Update();
without error each frame.ovrmResult result = ovrm_GetAPIs()->IsMrcEnabled(&value);
returnsvalue == true
and I get the correct camera parmaeters viaovrm_GetAPIs()->GetExternalCameraIntrinsics(cameraId, &cameraIntrinsics);
andovrmResult result = ovrm_GetAPIs()->GetExternalCameraExtrinsics(cameraId, &cameraExtrinsics);
.but when I now try to connect from the OBS 23.2.1 plugin I get the following error in the OBS log:
and no actual conneciton happens and
ovrmResult result = ovrm_GetAPIs()->IsMrcActivated(&value);
reportvalue == false
.The adb logcat output for
OVRMrcLib
is:Do you have maybe an idea what could be the reason and how to debug this? What does the error in the OVRMrcLib MediaManager mean and could this be related?
Regards, Holger