2020-08-27 02:58:27 -05:00
|
|
|
import { VideoConstant } from './video-constant.model'
|
2021-05-11 04:27:40 -05:00
|
|
|
import { VideoFileMetadata } from './video-file-metadata.model'
|
2020-08-27 02:58:27 -05:00
|
|
|
import { VideoResolution } from './video-resolution.enum'
|
2019-11-15 08:06:03 -06:00
|
|
|
|
|
|
|
export interface VideoFile {
|
|
|
|
resolution: VideoConstant<VideoResolution>
|
|
|
|
size: number // Bytes
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2019-11-15 08:06:03 -06:00
|
|
|
torrentUrl: string
|
|
|
|
torrentDownloadUrl: string
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2019-11-15 08:06:03 -06:00
|
|
|
fileUrl: string
|
|
|
|
fileDownloadUrl: string
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2019-11-15 08:06:03 -06:00
|
|
|
fps: number
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2020-06-26 01:37:26 -05:00
|
|
|
metadata?: VideoFileMetadata
|
2020-03-10 08:39:40 -05:00
|
|
|
metadataUrl?: string
|
2021-02-16 09:25:53 -06:00
|
|
|
|
2021-02-18 04:22:35 -06:00
|
|
|
magnetUri: string | null
|
2019-11-15 08:06:03 -06:00
|
|
|
}
|