Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

350 B
Raw Blame
export const VideoImportState = {
  PENDING: 1,
  SUCCESS: 2,
  FAILED: 3,
  REJECTED: 4,
  CANCELLED: 5,
  PROCESSING: 6
} as const

export type VideoImportStateType = typeof VideoImportState[keyof typeof VideoImportState]

export const RETRYABLE_VIDEO_IMPORT_STATES: VideoImportStateType[] = [ VideoImportState.FAILED, VideoImportState.CANCELLED ]