I called the cxrLatchFrame function and got cxrError_Success, and when I printed FrameLatched.frames.texture it was not equal to 0. Can I confirm that I did receive the correct video frame on the client side? I tried to use OpenGLES to draw FrameLatched.frames.texture but I couldn’t see anything.
How to make sure video frame received?
The value of
FrameLatched.frames.texture is not equal to 0, indicating that a video frame was successfully latched.
However, if you’re unable to see anything when attempting to draw the texture using OpenGLES, there might be other factors contributing to the issue.