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