ParsecClientGLRenderFrame

ps,
uint32_t
timeout
)

Waits for and efficiently renders a remote video frame with OpenGL/GLES.

If the timeout expires, the previous frame is rendered. Must be called from a thread with a current OpenGL/GLES 2.0 compatible context.

Parameters

DirectionNameDescription
inpsParsec instance returned by ParsecInit.
intimeoutTime in milliseconds to wait for a new frame or render the previous frame and return.

Returns

PARSEC_OK if a new frame was rendered, otherwise a ParsecStatus warning if the previous frame was rendered.