-
Notifications
You must be signed in to change notification settings - Fork 10
/
H264PictureTimingTrimmingInputStream.ts
50 lines (43 loc) · 1.59 KB
/
H264PictureTimingTrimmingInputStream.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
import {map, mapArray} from '../common/Mapper';
import InputStream from './InputStream';
import InputStreamType from './InputStreamType';
/**
* @export
* @class H264PictureTimingTrimmingInputStream
*/
export class H264PictureTimingTrimmingInputStream extends InputStream {
/**
* Discriminator property for InputStream
* @type {string}
* @memberof H264PictureTimingTrimmingInputStream
*/
public readonly type: InputStreamType = InputStreamType.TRIMMING_H264_PICTURE_TIMING;
/**
* The id of the ingest input stream that should be trimmed
* @type {string}
* @memberof H264PictureTimingTrimmingInputStream
*/
public inputStreamId?: string;
/**
* Defines the H264 SEI picture timing, as specified in ISO/IEC 14496-10:2008, of the frame from which the encoding should start. The frame indicated by this value will be included in the encoding
* @type {string}
* @memberof H264PictureTimingTrimmingInputStream
*/
public startPicTiming?: string;
/**
* Defines the H264 SEI picture timing, as specified in ISO/IEC 14496-10:2008, of the frame at which the encoding should stop. The frame indicated by this value will be included in the encoding
* @type {string}
* @memberof H264PictureTimingTrimmingInputStream
*/
public endPicTiming?: string;
constructor(obj?: Partial<H264PictureTimingTrimmingInputStream>) {
super(obj);
if(!obj) {
return;
}
this.inputStreamId = map(obj.inputStreamId);
this.startPicTiming = map(obj.startPicTiming);
this.endPicTiming = map(obj.endPicTiming);
}
}
export default H264PictureTimingTrimmingInputStream;