-
Notifications
You must be signed in to change notification settings - Fork 10
/
EncodingOutputPathsForOutput.ts
43 lines (37 loc) · 1.38 KB
/
EncodingOutputPathsForOutput.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
import {map, mapArray} from '../common/Mapper';
import EncodingOutputPathsDashManifest from './EncodingOutputPathsDashManifest';
import EncodingOutputPathsHlsManifest from './EncodingOutputPathsHlsManifest';
import EncodingOutputPathsSmoothManifest from './EncodingOutputPathsSmoothManifest';
/**
* @export
* @class EncodingOutputPathsForOutput
*/
export class EncodingOutputPathsForOutput {
/**
* Output paths for Dash manifests
* @type {EncodingOutputPathsDashManifest[]}
* @memberof EncodingOutputPathsForOutput
*/
public dashManifests?: EncodingOutputPathsDashManifest[];
/**
* Output paths for HLS manifests
* @type {EncodingOutputPathsHlsManifest[]}
* @memberof EncodingOutputPathsForOutput
*/
public hlsManifests?: EncodingOutputPathsHlsManifest[];
/**
* Output paths for Smooth manifests
* @type {EncodingOutputPathsSmoothManifest[]}
* @memberof EncodingOutputPathsForOutput
*/
public smoothManifests?: EncodingOutputPathsSmoothManifest[];
constructor(obj?: Partial<EncodingOutputPathsForOutput>) {
if(!obj) {
return;
}
this.dashManifests = mapArray(obj.dashManifests, EncodingOutputPathsDashManifest);
this.hlsManifests = mapArray(obj.hlsManifests, EncodingOutputPathsHlsManifest);
this.smoothManifests = mapArray(obj.smoothManifests, EncodingOutputPathsSmoothManifest);
}
}
export default EncodingOutputPathsForOutput;