by wkbittner » Thu Jan 28, 2016 11:17 am
Hi,
I have built a custom video rendering pipeline for real time streaming video - I am passing already decoded video frames into a custom part of chromium. Would be awesome if there was info on how to build a mojo interface then implement it on cef - that would be ideal I am thinking - if not I just would like to pass a shared memory handle cross renderer->browser process to chromium - The reason it is being done like this because I am built the rendering pipeline to be used in JS by normal webrtc calls to manipulate/add/remove video streams and though the enumerate devices seems to be able to enumerate cross IPC - it was too complicated to build initially and easier to leave in browser process. Right now I use CefBinaryValue to send in a message to browser process but that adds two memory copies which is really expensive to - imagine - 5 video streams at lets say approx 400 Mb/s of cross IPC frames ( back of envelope but of course varies) so the memory copies are huge to us.