[sldev] UDP Receiver: GL error: Invalid Operation

VAN BROECK Sigurd Sigurd.Van_Broeck at alcatel-lucent.com
Thu Dec 10 08:00:07 PST 2009


We've been using the Quicktime library of the Hippo Viewer to get media
streams into SL. Since we need more control over the streams, we
implemented a simple UDP receiver that's in coding identical to the
llmediaimplquicktime (except for the Quicktime library calls of course)
and that works just fine. The media packets are arriving over UDP and
can be displayed using the OpenCV library. However, as soon as we access
the GL functions from the UDP receiver thread, we get GL error 'invalid
operation'.

Debugging learns that we access the GL functions inbetween glBegin() and
glEnd() being called probably by the existing Hippo rendering thread(s).
Question is then of course how we can avoid making calls at the wrong
time. We don't really see how the Quicktime library accomplishes that.
Is there somewhere a synchronization mechanism that we must use?

Thanks for helping out,
Sigurd

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20091210/f11396f5/attachment.htm 


More information about the SLDev mailing list