1
0
Fork 0
peertube/shared/models/videos/file/video-file.model.ts
2021-11-18 15:20:57 +01:00

21 lines
473 B
TypeScript

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