diff options
author | Chocobozzz <me@florianbigard.com> | 2019-11-15 15:06:03 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-11-25 10:59:43 +0100 |
commit | d7a25329f9e607894d29ab342b9cb66638b56dc0 (patch) | |
tree | 6cd6bc4f2689f78944238b313c93427423a932ac /shared/models/videos/video-file.model.ts | |
parent | 14981d7331da3f63fe6cfaf020ccb7c910006eaf (diff) | |
download | PeerTube-d7a25329f9e607894d29ab342b9cb66638b56dc0.tar.gz PeerTube-d7a25329f9e607894d29ab342b9cb66638b56dc0.tar.zst PeerTube-d7a25329f9e607894d29ab342b9cb66638b56dc0.zip |
Add ability to disable webtorrent
In favour of HLS
Diffstat (limited to 'shared/models/videos/video-file.model.ts')
-rw-r--r-- | shared/models/videos/video-file.model.ts | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/shared/models/videos/video-file.model.ts b/shared/models/videos/video-file.model.ts new file mode 100644 index 000000000..04da0627e --- /dev/null +++ b/shared/models/videos/video-file.model.ts | |||
@@ -0,0 +1,12 @@ | |||
1 | import { VideoConstant, VideoResolution } from '@shared/models' | ||
2 | |||
3 | export interface VideoFile { | ||
4 | magnetUri: string | ||
5 | resolution: VideoConstant<VideoResolution> | ||
6 | size: number // Bytes | ||
7 | torrentUrl: string | ||
8 | torrentDownloadUrl: string | ||
9 | fileUrl: string | ||
10 | fileDownloadUrl: string | ||
11 | fps: number | ||
12 | } | ||