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.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.model.ts')
-rw-r--r-- | shared/models/videos/video.model.ts | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/shared/models/videos/video.model.ts b/shared/models/videos/video.model.ts index e057b3e06..7576439fe 100644 --- a/shared/models/videos/video.model.ts +++ b/shared/models/videos/video.model.ts | |||
@@ -5,17 +5,7 @@ import { VideoPrivacy } from './video-privacy.enum' | |||
5 | import { VideoScheduleUpdate } from './video-schedule-update.model' | 5 | import { VideoScheduleUpdate } from './video-schedule-update.model' |
6 | import { VideoConstant } from './video-constant.model' | 6 | import { VideoConstant } from './video-constant.model' |
7 | import { VideoStreamingPlaylist } from './video-streaming-playlist.model' | 7 | import { VideoStreamingPlaylist } from './video-streaming-playlist.model' |
8 | 8 | import { VideoFile } from './video-file.model' | |
9 | export interface VideoFile { | ||
10 | magnetUri: string | ||
11 | resolution: VideoConstant<VideoResolution> | ||
12 | size: number // Bytes | ||
13 | torrentUrl: string | ||
14 | torrentDownloadUrl: string | ||
15 | fileUrl: string | ||
16 | fileDownloadUrl: string | ||
17 | fps: number | ||
18 | } | ||
19 | 9 | ||
20 | export interface Video { | 10 | export interface Video { |
21 | id: number | 11 | id: number |