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
_______________________________________________ Policies and (un)subscribe information available here: http://wiki.secondlife.com/wiki/SLDev Please read the policies before posting to keep unmoderated posting privileges