Following the CameraCapture example to use the camera. The example works. However, the test app doesn't because the connection wasn't successful. I keep getting "MLCamera.Connect failed connecting to the camera. Reason: InvalidParam".
The Android permission prompt was shown and was accepted upon running the test app.
Can you try waiting for the camera to be ready before trying to connect?
MLResult result =
MLCamera.GetDeviceAvailabilityStatus(MLCamera.Identifier.Main, out cameraDeviceAvailable);
if (!(result.IsOk && cameraDeviceAvailable))
{
// Wait until camera device is available
yield return new WaitForSeconds(1.0f);
}
// Then continue to connect to camera
when I try using MR, I just see a frozen frame on the local renderer and no video in the web client. Video from the web client is there. CamOnly has been the only one I've seen work.
Which version of the examples did you try? was there a particular example you used? I've been working with the WebRTC example. MR capture is what I need to stream.
this could be a little off-topic for this post, but I've been looking at everything. Have seen invalid params messages, but may not be from the same function call