-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add captureStream()
method
#1698
Comments
I see this issue is 2 years old almost, but this repository is still being maintained. Would it be possible to get that previous PR merged as described in the issue so we can move forward on implementing the missing "captureStream" functionality? Alternatively, is there a different way we can get a MediaStream object (or otherwise something which we can use to serve a video stream via express js?) |
As a workaround the following can be used instead:
|
@LeviPesin - can you elaborate? That code snippet doesn't include the |
|
I'm surprised we still don't have it |
Another vote to get this working! |
Add missing captureStream Canvas method. It returns a
MediaStream
object, where on each canvas change a new frame is being added with the actual canvas contest. This is similar to usingnode-webrtc
RTCVideoSource class and calling to itsonFrame()
method, so probably some code could be reused between both projects. A polyfill can also be created to add that feature, but it would need first to have merged my changes to notify paint operations.The text was updated successfully, but these errors were encountered: