1
0
Fork 0
peertube/shared/models/videos/video-file.model.ts
Chocobozzz 0fecf427d3
Don't use @shared in models
So other projects can use them
2020-08-27 09:58:27 +02:00

16 lines
454 B
TypeScript

import { VideoConstant } from './video-constant.model'
import { VideoFileMetadata } from './video-file-metadata'
import { VideoResolution } from './video-resolution.enum'
export interface VideoFile {
magnetUri: string
resolution: VideoConstant<VideoResolution>
size: number // Bytes
torrentUrl: string
torrentDownloadUrl: string
fileUrl: string
fileDownloadUrl: string
fps: number
metadata?: VideoFileMetadata
metadataUrl?: string
}