-
Notifications
You must be signed in to change notification settings - Fork 10
/
HlsManifestDefault.ts
41 lines (36 loc) · 1.09 KB
/
HlsManifestDefault.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
import {map, mapArray} from '../common/Mapper';
import ChannelsAttributeForAudio from './ChannelsAttributeForAudio';
import EncodingOutput from './EncodingOutput';
import HlsManifest from './HlsManifest';
import HlsManifestDefaultVersion from './HlsManifestDefaultVersion';
import HlsTargetDurationRoundingMode from './HlsTargetDurationRoundingMode';
import HlsVersion from './HlsVersion';
import ManifestType from './ManifestType';
import Status from './Status';
/**
* @export
* @class HlsManifestDefault
*/
export class HlsManifestDefault extends HlsManifest {
/**
* The id of the encoding to create a default manifest for (required)
* @type {string}
* @memberof HlsManifestDefault
*/
public encodingId?: string;
/**
* Currently not in use
* @type {HlsManifestDefaultVersion}
* @memberof HlsManifestDefault
*/
public version?: HlsManifestDefaultVersion;
constructor(obj?: Partial<HlsManifestDefault>) {
super(obj);
if(!obj) {
return;
}
this.encodingId = map(obj.encodingId);
this.version = map(obj.version);
}
}
export default HlsManifestDefault;