What is Nostr?
Brooke Vibber :blobcatcoffee: /
npub1uur…9kt2
2024-04-10 21:26:36
in reply to nevent1q…esdr

Brooke Vibber :blobcatcoffee: on Nostr: interestingly WebCodecs has special immutable buffer types EncodedVideoChunk and ...

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*
Author Public Key
npub1uurt4jfy3mqxptf64hpzk8r2d0uf72cgxr7zx78efs05ryklx6cs499kt2