diff options
Diffstat (limited to 'shared/models/server')
-rw-r--r-- | shared/models/server/job.model.ts | 10 |
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 | ||
103 | interface HLSTranscodingPayload extends BaseTranscodingPayload { | 103 | export 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 | ||
110 | export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload { | 110 | export 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 | ||
116 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { | 116 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { |
117 | type: 'merge-audio' | 117 | type: 'merge-audio-to-webtorrent' |
118 | resolution: VideoResolution | 118 | resolution: VideoResolution |
119 | } | 119 | } |
120 | 120 | ||
121 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { | 121 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { |
122 | type: 'optimize' | 122 | type: 'optimize-to-webtorrent' |
123 | } | 123 | } |
124 | 124 | ||
125 | export type VideoTranscodingPayload = | 125 | export type VideoTranscodingPayload = |