12 lines
456 B
TypeScript
12 lines
456 B
TypeScript
export declare const streamingKey = "remotion_buffer:";
|
|
export declare const makeStreamer: (onMessage: (statusType: "success" | "error", nonce: string, data: Uint8Array) => void) => {
|
|
onData: (data: Uint8Array) => void;
|
|
getOutputBuffer: () => Uint8Array<ArrayBuffer>;
|
|
clear: () => void;
|
|
};
|
|
export declare const makeStreamPayloadMessage: ({ status, body, nonce, }: {
|
|
nonce: string;
|
|
status: 0 | 1;
|
|
body: Uint8Array;
|
|
}) => Uint8Array;
|