PeerTube/shared/models/videos/video-file.model.ts

22 lines
472 B
TypeScript
Raw Normal View History

import { VideoConstant } from './video-constant.model'
2021-05-11 04:27:40 -05:00
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
2020-06-26 01:37:26 -05:00
metadata?: VideoFileMetadata
metadataUrl?: string
2021-02-18 04:22:35 -06:00
magnetUri: string | null
}