UNPKG

extendable-media-recorder

Version:

An extendable drop-in replacement for the native MediaRecorder.

9 lines 368 B
export const createBlobEventFactory = (nativeBlobEventConstructor) => { return (type, blobEventInit) => { if (nativeBlobEventConstructor === null) { throw new Error('A native BlobEvent could not be created.'); } return new nativeBlobEventConstructor(type, blobEventInit); }; }; //# sourceMappingURL=blob-event-factory.js.map