]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - shared/models/videos/video-file.model.ts
Merge branch 'release/3.2.0' into develop
[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.model'
3 import { VideoResolution } from './video-resolution.enum'
4
5 export interface VideoFile {
6 resolution: VideoConstant<VideoResolution>
7 size: number // Bytes
8
9 torrentUrl: string
10 torrentDownloadUrl: string
11
12 fileUrl: string
13 fileDownloadUrl: string
14
15 fps: number
16
17 metadata?: VideoFileMetadata
18 metadataUrl?: string
19
20 magnetUri: string | null
21 }