aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared
diff options
context:
space:
mode:
Diffstat (limited to 'shared')
-rw-r--r--shared/models/server/job.model.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts
index 11d90c32f..d16ac1032 100644
--- a/shared/models/server/job.model.ts
+++ b/shared/models/server/job.model.ts
@@ -100,26 +100,26 @@ interface BaseTranscodingPayload {
100 isNewVideo?: boolean 100 isNewVideo?: boolean
101} 101}
102 102
103interface HLSTranscodingPayload extends BaseTranscodingPayload { 103export interface HLSTranscodingPayload extends BaseTranscodingPayload {
104 type: 'hls' 104 type: 'new-resolution-to-hls'
105 isPortraitMode?: boolean 105 isPortraitMode?: boolean
106 resolution: VideoResolution 106 resolution: VideoResolution
107 copyCodecs: boolean 107 copyCodecs: boolean
108} 108}
109 109
110export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload { 110export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload {
111 type: 'new-resolution' 111 type: 'new-resolution-to-webtorrent'
112 isPortraitMode?: boolean 112 isPortraitMode?: boolean
113 resolution: VideoResolution 113 resolution: VideoResolution
114} 114}
115 115
116export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { 116export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload {
117 type: 'merge-audio' 117 type: 'merge-audio-to-webtorrent'
118 resolution: VideoResolution 118 resolution: VideoResolution
119} 119}
120 120
121export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { 121export interface OptimizeTranscodingPayload extends BaseTranscodingPayload {
122 type: 'optimize' 122 type: 'optimize-to-webtorrent'
123} 123}
124 124
125export type VideoTranscodingPayload = 125export type VideoTranscodingPayload =