1
0
Fork 0
peertube/shared/models/videos/file/video-file.model.ts

24 lines
487 B
TypeScript
Raw Normal View History

2021-11-18 13:35:08 +00:00
import { VideoConstant } from '../video-constant.model'
2021-05-11 09:27:40 +00:00
import { VideoFileMetadata } from './video-file-metadata.model'
import { VideoResolution } from './video-resolution.enum'
export interface VideoFile {
2022-07-29 09:32:46 +00:00
id: number
resolution: VideoConstant<VideoResolution>
size: number // Bytes
torrentUrl: string
torrentDownloadUrl: string
fileUrl: string
fileDownloadUrl: string
fps: number
2020-06-26 06:37:26 +00:00
metadata?: VideoFileMetadata
metadataUrl?: string
2021-02-18 10:22:35 +00:00
magnetUri: string | null
}