API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
typeMediaAssetSource
What a media resource is built from. A URL is streamed by the browser, which owns the transfer for the whole life of the element and never holds more than it is playing. A blob is data the application already owns - an acquired source, a container entry, a cached representation - and the element reads it through an object URL the resource keeps alive for as long as it exists.
import { MediaAssetSource } from '@codexo/exojs'What a media resource is built from.
A URL is streamed by the browser, which owns the transfer for the whole life of the element and never holds more than it is playing. A blob is data the application already owns - an acquired source, a container entry, a cached representation - and the element reads it through an object URL the resource keeps alive for as long as it exists.
{ blob: Blob; url?: undefined } | { blob?: undefined; url: string }