aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos/file/video-file.model.ts
blob: 0ea857e7ac0d00882abaae8c2c6d540bbaa10967 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import { VideoConstant } from '../video-constant.model'
import { VideoFileMetadata } from './video-file-metadata.model'
import { VideoResolution } from './video-resolution.enum'

export interface VideoFile {
  resolution: VideoConstant<VideoResolution>
  size: number // Bytes

  torrentUrl: string
  torrentDownloadUrl: string

  fileUrl: string
  fileDownloadUrl: string

  fps: number

  metadata?: VideoFileMetadata
  metadataUrl?: string

  magnetUri: string | null
}