File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -272,7 +272,11 @@ export function createCameraMutation() {
272272 ? e . message
273273 : String ( e ) ;
274274
275- if ( message . includes ( "DeviceNotFound" ) ) {
275+ if (
276+ message . includes ( "DeviceNotFound" ) ||
277+ message . includes ( "CameraTimeout" ) ||
278+ message . includes ( "Failed to initialize camera" )
279+ ) {
276280 setOptions ( "cameraID" , null ) ;
277281 console . warn ( "Selected camera is unavailable." ) ;
278282 return ;
Original file line number Diff line number Diff line change @@ -585,7 +585,7 @@ export type TextSegment = { start: number; end: number; track?: number; enabled?
585585export type TimelineConfiguration = { segments : TimelineSegment [ ] ; zoomSegments : ZoomSegment [ ] ; sceneSegments ?: SceneSegment [ ] ; maskSegments ?: MaskSegment [ ] ; textSegments ?: TextSegment [ ] ; captionSegments ?: CaptionTrackSegment [ ] ; keyboardSegments ?: KeyboardTrackSegment [ ] }
586586export type TimelineSegment = { recordingSegment ?: number ; timescale : number ; start : number ; end : number }
587587export type TranscriptionEngine = "Whisper" | "Parakeet"
588- 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" }
588+ 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" }
589589export type UploadMode = { Initial : { pre_created_video : VideoUploadInfo | null } } | "Reupload"
590590export type UploadProgress = { progress : number }
591591export type UploadProgressEvent = { video_id : string ; uploaded : string ; total : string }
You can’t perform that action at this time.
0 commit comments