UNPKG

media-encoder-host

Version:
11 lines 619 B
export declare const connect: () => Promise<MessagePort>; export declare const deregister: (port: MessagePort) => Promise<null>; export declare const disconnect: (port: MessagePort) => Promise<void>; export declare const encode: (encoderInstanceId: number, timeslice: null | number) => Promise<ArrayBuffer[]>; export declare const instantiate: (mimeType: string, sampleRate: number) => Promise<{ encoderInstanceId: number; port: MessagePort; }>; export declare const isSupported: () => Promise<boolean>; export declare const register: (port: MessagePort) => Promise<RegExp>; //# sourceMappingURL=module.d.ts.map