Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture Frames from HTML #7

Open
Raj123456788 opened this issue Jun 26, 2020 · 0 comments
Open

Capture Frames from HTML #7

Raj123456788 opened this issue Jun 26, 2020 · 0 comments

Comments

@Raj123456788
Copy link

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 how can I achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant