Open
Bug 1861770
Opened 2 years ago
Updated 4 months ago
Implement `transfer` for EncodedVideoChunkInit
Categories
(Core :: Audio/Video: Web Codecs, task, P3)
Core
Audio/Video: Web Codecs
Tracking
()
NEW
People
(Reporter: chunmin, Assigned: chunmin)
References
Details
Similar to Bug 1861769, we should add a transfer property to EncodedVideoChunkInit's WebIDL and update its constructor algorithm. This will allow users to transfer ownership of data from a TypedArray to the EncodedVideoChunk, avoiding unnecessary copies. (See Bug 1861769, comment 1 for more details and rationale.)
dictionary EncodedVideoChunkInit {
...
required AllowSharedBufferSource data;
sequence<ArrayBuffer> transfer = [];
};
The expected outcome is that the implementation should pass the related WPT in transfering.https.any.js.
Updated•1 year ago
|
Priority: P2 → P3
| Assignee | ||
Updated•4 months ago
|
Summary: Add `transfer` to EncodedVideoChunkInit → Implement `transfer` for EncodedVideoChunkInit
You need to log in
before you can comment on or make changes to this bug.
Description
•