Dear all,
So far I have been unable to get the answer I need from my searches in the forums and/or the documentation. Here is my problem:
I am trying to use CEF as an HTML/Javascript UI display for another application. Our application is writtent in C++, uses cameras, and processes the images from the camera. I would like to display the images onto an HTML canvas, while (if possible) keeping the image in memory. I have an unssigned char* memory buffer containing the image in c++, and I know the size of the buffer. Javascript to HTML is easy, I can get the buffer data and write directly on it, but so far I haven't been able to use that in C++.
I have read somewhere that maybe I can use HTTP request to stream the images to the renderer? But I don't know how to implement that both in C++ and in javascript. Is there a simpler way, like asking javascript to display a memory buffer ?
As a disclaimer, I am definitely not new at C++, new at CEF, and incompetent (or almost) in html javascript.
I hope my question is clear enough, don't hesitate to ask me for details. Thank you in advance, and best regards!