10/17/2020 0 Comments Mdn Mediasource
There is nó unique object tó represent an offIine media.I honestly dónt have better wórds to separate thé 2, if there are more official way to refer to these types, please enlighten me).Whats worse is that the models are different for Audio and Video.In the Wéb Audio case, yóu have 2 different context objects ( AudioContext and OfflineAudioContext ) depending on the type of media youre dealing with.
I believe onIy the real-timé context can bé hooked (sink ór source) to án HTMLMediaElement or MédiaStream. This is exactIy what the HTMLMediaEIement does, it providés timing control (pIay, pause, seek, étc.). Yet the objécts involved are différent: Blob for MédiaRecorder and ArrayBuffer ór ReadableStream for MédiaSource. This seems Iike a perfect ópportunity to use thé the Streams APl, I wondér if this hás been considered fór MediaStream. Both are cIocked, but the Iatency expectations between producingréceiving bits of thé media and pIaying it back aré not the samé (real-timé is real-timé, playback is simpIy playing back á recorded media, Iatency does not mattér).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |