The [WritableStream](https://streams.spec.whatwg.org/#writablestream) accepts [VideoFrame](https://w3c.github.io/webcodecs/#videoframe) objects. When a [VideoFrame](https://w3c.github.io/webcodecs/#videoframe) is written to [writable](https://w3c.github.io/mediacapture-transform/#dom-videotrackgenerator-writable), the frame’s close() method is automatically invoked, so that its internal resources are no longer accessible from JavaScript.
Instead it should call the corresponding close algorithm.
The spec says:
Instead it should call the corresponding close algorithm.