API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

T

typeMediaAssetSource

@codexo/exojs / assets / stable

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.

0
props
0
methods
0
events
Import
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.

Definition1
{ blob: Blob; url?: undefined } | { blob?: undefined; url: string }
Source