Windows: Feed a Webrtc Stream to a Virtual Driver

穿精又带淫゛_ 提交于 2020-06-29 06:43:03

问题


I have a virtual webcam installed on Win 10 and I am using this project link to get the remote webrtc stream.

My goal is instead of sending the stream to video element I need to send it to my virtual driver.

So here is the html element

setTheirVideo : function (stream) {
        var video = document.getElementById('their-video');
        if (typeof video.srcObject == "object") {
            video.srcObject = stream;
        } else {
            video.src = URL.createObjectURL(stream);
        }
    },

Where & How would I set the stream to be sent to the driver API instead of HTML Element? for example:
MyDriver.SetData(stream);

Please let me know if anyone has already accomplished this.

来源:https://stackoverflow.com/questions/62602079/windows-feed-a-webrtc-stream-to-a-virtual-driver

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!