I am trying to build Desktop application using Electron framework which can output content of particular <div>
element to DirectShow based virtual camera.
With the help of famous Viveks virtual camera and Sample Push Source Filter I am able to create virtual camera which is rendering Desktop in virtual camera.
Now I want to use this virtual camera with electron app to output content of <div>
. I am not able to figure out what should be approach to achieve this? I guess I have to develop DirectShow Capture Filter which will interact with virtual camera which I am not sure.
What should be approach to render <div>
content to virtual camera?