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

16 lines
367 B
TypeScript
Raw Normal View History

2020-06-26 01:37:26 -05:00
import { VideoConstant, VideoFileMetadata, VideoResolution } from '@shared/models'
export interface VideoFile {
magnetUri: string
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
}