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

Spec is unclear when and how WebCodecs VideoFrame objects are created #106

Closed
youennf opened this issue Feb 2, 2024 · 0 comments · Fixed by #108
Closed

Spec is unclear when and how WebCodecs VideoFrame objects are created #106

youennf opened this issue Feb 2, 2024 · 0 comments · Fixed by #108

Comments

@youennf
Copy link
Contributor

youennf commented Feb 2, 2024

For MediaStreamTrackProcessor exposing camera content, implementations probably get information to create VideoFrame objects.
For MediaStreamTrackProcessor exposing VideoTrackGenerator content, the VideoFrame exposed by MediaStreamTrackProcessor is not the JS object written in VideoTrackGenerator but a clone.

We should describe this in the spec.
And we should make sure that video frames are correctly closed.

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

Successfully merging a pull request may close this issue.

1 participant