Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
queries
Richie McIlroy9fb870ce4e8c
diff --git a/apps/desktop/src/utils/queries.ts b/apps/desktop/src/utils/queries.tsindex f9185b877..a03beca56 100644--- a/apps/desktop/src/utils/queries.ts+++ b/apps/desktop/src/utils/queries.ts@@ -272,7 +272,11 @@ export function createCameraMutation() {? e.message: String(e);- if (message.includes("DeviceNotFound")) {+ if (+ message.includes("DeviceNotFound") ||+ message.includes("CameraTimeout") ||+ message.includes("Failed to initialize camera")+ ) {setOptions("cameraID", null);console.warn("Selected camera is unavailable.");return;diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.tsindex 1530de323..8cf4c2533 100644--- a/apps/desktop/src/utils/tauri.ts+++ b/apps/desktop/src/utils/tauri.ts@@ -585,7 +585,7 @@ export type TextSegment = { start: number; end: number; track?: number; enabled?export type TimelineConfiguration = { segments: TimelineSegment[]; zoomSegments: ZoomSegment[]; sceneSegments?: SceneSegment[]; maskSegments?: MaskSegment[]; textSegments?: TextSegment[]; captionSegments?: CaptionTrackSegment[]; keyboardSegments?: KeyboardTrackSegment[] }export type TimelineSegment = { recordingSegment?: number; timescale: number; start: number; end: number }export type TranscriptionEngine = "Whisper" | "Parakeet"-export type UploadMeta = { state: "MultipartUpload"; video_id: string; file_path: string; pre_created_video: VideoUploadInfo; recording_dir: string } | { state: "SinglePartUpload"; video_id: string; recording_dir: string; file_path: string; screenshot_path: string } | { state: "Failed"; error: string } | { state: "Complete" }+export type UploadMeta = { state: "MultipartUpload"; video_id: string; file_path: string; pre_created_video: VideoUploadInfo; recording_dir: string } | { state: "SinglePartUpload"; video_id: string; recording_dir: string; file_path: string; screenshot_path: string } | { state: "SegmentUpload"; video_id: string; pre_created_video: VideoUploadInfo; recording_dir: string } | { state: "Failed"; error: string } | { state: "Complete" }export type UploadMode = { Initial: { pre_created_video: VideoUploadInfo | null } } | "Reupload"export type UploadProgress = { progress: number }export type UploadProgressEvent = { video_id: string; uploaded: string; total: string }