aboutsummaryrefslogblamecommitdiffhomepage
path: root/shared/models/videos/video-file.model.ts
blob: f3d93f0eddf7a60748d8b049a436b6984ed033c3 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                         

                            

                                            
 

                            
 

                         
 
             
 
                              
                      


                             
 
import { VideoConstant } from './video-constant.model'
import { VideoFileMetadata } from './video-file-metadata'
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

  // FIXME: deprecated in 3.2
  magnetUri: string
}