-
Notifications
You must be signed in to change notification settings - Fork 143
AudioFrame/VideoFrame should be marked as serializable/transferable #210
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
Comments
Thanks for filing this. Agree, spec should change (it's straitforward once the ref-counting PRs land). |
Triage note: marking extension, as these are add-on attributes/behaviors |
Having said that, they are already implemented in Chrome, so we should firm up consensus on their semantics ASAP. Fortunately, I think these are not controversial. For those reading along, some background:
The chrome impl behaves in the following way:
|
Yes, I think that's uncontroversial, but what API should be used? An old-school transfer list, or the new way of doing things? Also, this needs to be designed at the same time as #212, so that the ergonomics can be the best possible for memory management. |
EncodedAudioChunk and EncodedVideoChunk will also need to be serializable/transferable. Especially if we end up with worker only exposure. |
(The associated metadata pieces too) |
Tracked in #289 |
This might be a duplicate issue, or already in a PR, but I'm opening this to make sure it isn't missed.
The Chrome implementation already supports this, but it is not called out in the spec.
The text was updated successfully, but these errors were encountered: