UNPKG

@omnimedia/omnitool

Version:

open source video processing tools

11 lines 312 B
import { BlobSource, UrlSource } from "mediabunny"; // only streamable sources export async function loadDecoderSource(source) { if (source instanceof Blob) { return new BlobSource(source); } else { return new UrlSource(source); } } //# sourceMappingURL=load-decoder-source.js.map