donobu
Version:
Create browser automations with an LLM agent and replay them as Playwright scripts.
21 lines • 661 B
TypeScript
/**
* A single segment of a video. This structure helps enable HTTP handlers that need to retrieve
* different parts of a video using a `Range` header, rather than having to retrieve the
* entire video.
*/
export type VideoSegment = {
/**
* The raw bytes of the video segment in `webm` format.
*/
readonly bytes: Buffer;
/**
* The total number of bytes for the entire video (which may be larger than this
* single video segment).
*/
readonly totalLength: number;
/**
* The byte offset that this video segment begins at.
*/
readonly startOffset: number;
};
//# sourceMappingURL=VideoSegment.d.ts.map