问题
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