-
Notifications
You must be signed in to change notification settings - Fork 10
/
InputStream.ts
63 lines (58 loc) · 2.41 KB
/
InputStream.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
import AudioMixInputStream from './AudioMixInputStream';
import BitmovinResource from './BitmovinResource';
import Cea608CaptionInputStream from './Cea608CaptionInputStream';
import Cea708CaptionInputStream from './Cea708CaptionInputStream';
import ConcatenationInputStream from './ConcatenationInputStream';
import DolbyAtmosIngestInputStream from './DolbyAtmosIngestInputStream';
import DolbyVisionInputStream from './DolbyVisionInputStream';
import DolbyVisionMetadataIngestInputStream from './DolbyVisionMetadataIngestInputStream';
import DvbSubtitleInputStream from './DvbSubtitleInputStream';
import FileInputStream from './FileInputStream';
import H264PictureTimingTrimmingInputStream from './H264PictureTimingTrimmingInputStream';
import IngestInputStream from './IngestInputStream';
import InputStreamType from './InputStreamType';
import TimeBasedTrimmingInputStream from './TimeBasedTrimmingInputStream';
import TimecodeTrackTrimmingInputStream from './TimecodeTrackTrimmingInputStream';
export type InputStreamUnion =
IngestInputStream |
ConcatenationInputStream |
TimeBasedTrimmingInputStream |
TimecodeTrackTrimmingInputStream |
H264PictureTimingTrimmingInputStream |
AudioMixInputStream |
DolbyVisionMetadataIngestInputStream |
Cea608CaptionInputStream |
Cea708CaptionInputStream |
FileInputStream |
DvbSubtitleInputStream |
DolbyAtmosIngestInputStream |
DolbyVisionInputStream;
/**
* @export
* @class InputStream
*/
export class InputStream extends BitmovinResource {
protected static readonly _discriminatorName = 'type';
protected static readonly _discriminatorMapping: { [key in keyof typeof InputStreamType]: string; } = {
INGEST: 'IngestInputStream',
CONCATENATION: 'ConcatenationInputStream',
TRIMMING_TIME_BASED: 'TimeBasedTrimmingInputStream',
TRIMMING_TIME_CODE_TRACK: 'TimecodeTrackTrimmingInputStream',
TRIMMING_H264_PICTURE_TIMING: 'H264PictureTimingTrimmingInputStream',
AUDIO_MIX: 'AudioMixInputStream',
SIDECAR_DOLBY_VISION_METADATA: 'DolbyVisionMetadataIngestInputStream',
CAPTION_CEA608: 'Cea608CaptionInputStream',
CAPTION_CEA708: 'Cea708CaptionInputStream',
FILE: 'FileInputStream',
DVB_SUBTITLE: 'DvbSubtitleInputStream',
DOLBY_ATMOS: 'DolbyAtmosIngestInputStream',
DOLBY_VISION: 'DolbyVisionInputStream'
};
constructor(obj?: Partial<InputStream>) {
super(obj);
if(!obj) {
return;
}
}
}
export default InputStream;