Pretty new to oF and C++, but trying to open up communications between Flash (AS3) and a Canon DSLR. We've successfully done it using a socket server (using https://github.com/roxlu/ofxFlashCommunication), so AS3 can trigger the DSLR's shutter, get the image path, etc. But we want to turn the live view preview (which is easy to view in the C++ app using Canon's SDK) into a webcam stream so that Flash can display a preview (via AS3's native Camera and Video classes) to the user. Unfortunately, passing the live view image data through the socket server is not an option as that requires converting the image to a byte array, passing it to flash, and having flash parse that back into an image. That method was way too slow (low FPS).
Current OS: Mac OSX 10.8.3
What is the best way to get the live view from C++ to Flash? Is there an easy to use library for oF/C++ that can help me turn a sequence of images (in real time) to a native hardware webcam stream?