diff options
Diffstat (limited to 'shared')
-rw-r--r-- | shared/models/server/job.model.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/models/server/job.model.ts b/shared/models/server/job.model.ts index 8a69d11fa..1519d1c3e 100644 --- a/shared/models/server/job.model.ts +++ b/shared/models/server/job.model.ts | |||
@@ -113,11 +113,12 @@ export interface HLSTranscodingPayload extends BaseTranscodingPayload { | |||
113 | isMaxQuality: boolean | 113 | isMaxQuality: boolean |
114 | } | 114 | } |
115 | 115 | ||
116 | export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload { | 116 | export interface NewWebTorrentResolutionTranscodingPayload extends BaseTranscodingPayload { |
117 | type: 'new-resolution-to-webtorrent' | 117 | type: 'new-resolution-to-webtorrent' |
118 | resolution: VideoResolution | 118 | resolution: VideoResolution |
119 | 119 | ||
120 | hasAudio: boolean | 120 | hasAudio: boolean |
121 | createHLSIfNeeded: boolean | ||
121 | 122 | ||
122 | isPortraitMode?: boolean | 123 | isPortraitMode?: boolean |
123 | } | 124 | } |
@@ -125,6 +126,7 @@ export interface NewResolutionTranscodingPayload extends BaseTranscodingPayload | |||
125 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { | 126 | export interface MergeAudioTranscodingPayload extends BaseTranscodingPayload { |
126 | type: 'merge-audio-to-webtorrent' | 127 | type: 'merge-audio-to-webtorrent' |
127 | resolution: VideoResolution | 128 | resolution: VideoResolution |
129 | createHLSIfNeeded: true | ||
128 | } | 130 | } |
129 | 131 | ||
130 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { | 132 | export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { |
@@ -133,7 +135,7 @@ export interface OptimizeTranscodingPayload extends BaseTranscodingPayload { | |||
133 | 135 | ||
134 | export type VideoTranscodingPayload = | 136 | export type VideoTranscodingPayload = |
135 | HLSTranscodingPayload | 137 | HLSTranscodingPayload |
136 | | NewResolutionTranscodingPayload | 138 | | NewWebTorrentResolutionTranscodingPayload |
137 | | OptimizeTranscodingPayload | 139 | | OptimizeTranscodingPayload |
138 | | MergeAudioTranscodingPayload | 140 | | MergeAudioTranscodingPayload |
139 | 141 | ||