]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/video-file.model.ts
e9839229d2d461f7870db89bebddc54f17942116
[github/Chocobozzz/PeerTube.git] / shared / models / videos / video-file.model.ts
1 import { VideoConstant } from './video-constant.model'
2 import { VideoFileMetadata } from './video-file-metadata'
3 import { VideoResolution } from './video-resolution.enum'
4
5 export interface VideoFile {
6 magnetUri: string
7 resolution: VideoConstant<VideoResolution>
8 size: number // Bytes
9 torrentUrl: string
10 torrentDownloadUrl: string
11 fileUrl: string
12 fileDownloadUrl: string
13 fps: number
14 metadata?: VideoFileMetadata
15 metadataUrl?: string
16 }