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

22 lines
466 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 08:37:26 +02:00
metadata?: VideoFileMetadata
metadataUrl?: string
2021-02-18 11:22:35 +01:00
magnetUri: string | null
}