Skip to content

Add captureStream() method #1698

Open
Open
@piranna

Description

@piranna

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 using node-webrtc RTCVideoSource class and calling to its onFrame() 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions