eye-analysis
Version:
Eye Analysis - Browser-based eye tracking and screen recording library for research and experiments
24 lines • 878 B
TypeScript
import type { RecordingConfig } from "../recorder/types";
export declare const initializeRecording: (config?: RecordingConfig) => void;
export declare const startRecording: (sessionId: string) => Promise<void>;
/**
* Get actual content size from the current recording stream
*/
export declare const getActualContentSize: () => {
width: number;
height: number;
} | null;
export declare const stopRecording: () => Promise<void>;
export declare const getRecordingState: () => {
isRecording: boolean;
currentChunkIndex: number;
sessionId: string;
};
export declare const getRecordingQuality: () => Promise<{
averageFrameRate: number;
frameDrops: number;
duration: number;
}>;
export declare const checkScreenCaptureSupport: () => Promise<boolean>;
export declare const resetRecordingState: () => void;
//# sourceMappingURL=screen-recording.d.ts.map