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

23 lines
489 B
TypeScript
Raw Normal View History

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