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

What is a valid MediaStreamTrack #94

Open
youennf opened this issue Jan 19, 2024 · 1 comment
Open

What is a valid MediaStreamTrack #94

youennf opened this issue Jan 19, 2024 · 1 comment

Comments

@youennf
Copy link
Contributor

youennf commented Jan 19, 2024

The spec says:

If init.[track](https://w3c.github.io/mediacapture-transform/#dom-mediastreamtrackprocessorinit-track) is not a valid [MediaStreamTrack](https://www.w3.org/TR/mediacapture-streams/#dom-mediastreamtrack), throw a [TypeError](https://webidl.spec.whatwg.org/#exceptiondef-typeerror).

But a valid MediaStreamTrack is not defined.
Is it that this should be a video live track?

@youennf
Copy link
Contributor Author

youennf commented Jan 29, 2024

Chromium seems to throw on ended tracks.
Safari is also throwing on audio tracks.

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