interestingly WebCodecs has special immutable buffer types EncodedVideoChunk and EncodedAudioChunk which represent an encoded packet, with an immutable buffer and some metadata. (Both types seem to have the same interfaces and metadata?)
you can copy in/out to regular typed arrays synchronously, *unlike* the VideoFrame type which has an *async* copyTo() method
presumably because it may be in video RAM which may be slow on some systems
*lolsob*