aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/videos
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-02 12:20:26 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-10-03 15:31:26 +0200
commit40298b02546e8225dd21bf6048fe7f224aefc32a (patch)
tree0a0b981dbeb2af47810adff6553a0df995a03734 /shared/models/videos
parentf0adb2701c1cf404ff63095f71e542bfe6d025ae (diff)
downloadPeerTube-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.ts1
-rw-r--r--shared/models/videos/video-resolution.enum.ts8
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'
6export * from './video-blacklist.model' 6export * from './video-blacklist.model'
7export * from './video-create.model' 7export * from './video-create.model'
8export * from './video-rate.type' 8export * from './video-rate.type'
9export * from './video-resolution.enum'
9export * from './video-update.model' 10export * from './video-update.model'
10export * from './video.model' 11export * 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 @@
1export 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}