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