Timeline Studio API Documentation - v0.26.0
    Preparing search index...
    interface UseMediaProcessorOptions {
        onError?: (fileId: string, error: string) => void;
        onFilesDiscovered?: (files: DiscoveredFile[]) => void;
        onMetadataReady?: (fileId: string, metadata: MediaFile) => void;
        onProgress?: (current: number, total: number) => void;
        onThumbnailReady?: (
            fileId: string,
            thumbnailPath: string,
            thumbnailData?: string,
        ) => void;
    }
    Index

    Properties

    onError?: (fileId: string, error: string) => void
    onFilesDiscovered?: (files: DiscoveredFile[]) => void
    onMetadataReady?: (fileId: string, metadata: MediaFile) => void
    onProgress?: (current: number, total: number) => void
    onThumbnailReady?: (
        fileId: string,
        thumbnailPath: string,
        thumbnailData?: string,
    ) => void