In addition to VideoFrame and AudioData, other interface types should be serializable:
EncodedAudioChunk
EncodedVideoChunk
VideoColorSpace (not yet in the spec)
It may make sense to add close() and add transfer to EncodedAudioChunk and EncodedVideoChunk, but they are immutable by design and therefore do not need transfer to avoid copying.
In addition to
VideoFrameandAudioData, other interface types should be serializable:EncodedAudioChunkEncodedVideoChunkVideoColorSpace(not yet in the spec)It may make sense to add
close()and add transfer toEncodedAudioChunkandEncodedVideoChunk, but they are immutable by design and therefore do not need transfer to avoid copying.