diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-10-02 12:20:26 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-10-03 15:31:26 +0200 |
commit | 40298b02546e8225dd21bf6048fe7f224aefc32a (patch) | |
tree | 0a0b981dbeb2af47810adff6553a0df995a03734 /shared/models/videos | |
parent | f0adb2701c1cf404ff63095f71e542bfe6d025ae (diff) | |
download | PeerTube-40298b02546e8225dd21bf6048fe7f224aefc32a.tar.gz PeerTube-40298b02546e8225dd21bf6048fe7f224aefc32a.tar.zst PeerTube-40298b02546e8225dd21bf6048fe7f224aefc32a.zip |
Implement video transcoding on server side
Diffstat (limited to 'shared/models/videos')
-rw-r--r-- | shared/models/videos/index.ts | 1 | ||||
-rw-r--r-- | shared/models/videos/video-resolution.enum.ts | 8 |
2 files changed, 9 insertions, 0 deletions
diff --git a/shared/models/videos/index.ts b/shared/models/videos/index.ts index 64d1676c5..35144dbad 100644 --- a/shared/models/videos/index.ts +++ b/shared/models/videos/index.ts | |||
@@ -6,5 +6,6 @@ export * from './video-abuse.model' | |||
6 | export * from './video-blacklist.model' | 6 | export * from './video-blacklist.model' |
7 | export * from './video-create.model' | 7 | export * from './video-create.model' |
8 | export * from './video-rate.type' | 8 | export * from './video-rate.type' |
9 | export * from './video-resolution.enum' | ||
9 | export * from './video-update.model' | 10 | export * from './video-update.model' |
10 | export * from './video.model' | 11 | export * from './video.model' |
diff --git a/shared/models/videos/video-resolution.enum.ts b/shared/models/videos/video-resolution.enum.ts new file mode 100644 index 000000000..bdce77ed6 --- /dev/null +++ b/shared/models/videos/video-resolution.enum.ts | |||
@@ -0,0 +1,8 @@ | |||
1 | export enum VideoResolution { | ||
2 | ORIGINAL = 0, | ||
3 | H_240P = 240, | ||
4 | H_360P = 360, | ||
5 | H_480P = 480, | ||
6 | H_720P = 720, | ||
7 | H_1080P = 1080 | ||
8 | } | ||