]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - shared/models/videos/file/video-file.model.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / shared / models / videos / file / video-file.model.ts
... / ...
CommitLineData
1import { VideoConstant } from '../video-constant.model'
2import { VideoFileMetadata } from './video-file-metadata.model'
3import { VideoResolution } from './video-resolution.enum'
4
5export interface VideoFile {
6 id: number
7
8 resolution: VideoConstant<VideoResolution>
9 size: number // Bytes
10
11 torrentUrl: string
12 torrentDownloadUrl: string
13
14 fileUrl: string
15 fileDownloadUrl: string
16
17 fps: number
18
19 metadata?: VideoFileMetadata
20 metadataUrl?: string
21
22 magnetUri: string | null
23}