UNPKG

@jxstjh/jhvideo

Version:

HTML5 jhvideo base on MPEG2-TS Stream Player

47 lines 1.37 kB
var PAT = /** @class */ (function () { function PAT() { // program_number -> pmt_pid this.program_pmt_pid = {}; } return PAT; }()); export { PAT }; export var StreamType; (function (StreamType) { StreamType[StreamType["kMPEG1Audio"] = 3] = "kMPEG1Audio"; StreamType[StreamType["kMPEG2Audio"] = 4] = "kMPEG2Audio"; StreamType[StreamType["kPESPrivateData"] = 6] = "kPESPrivateData"; StreamType[StreamType["kADTSAAC"] = 15] = "kADTSAAC"; StreamType[StreamType["kID3"] = 21] = "kID3"; StreamType[StreamType["kH264"] = 27] = "kH264"; StreamType[StreamType["kH265"] = 36] = "kH265"; })(StreamType || (StreamType = {})); var PMT = /** @class */ (function () { function PMT() { // pid -> stream_type this.pid_stream_type = {}; this.common_pids = { h264: undefined, adts_aac: undefined }; this.pes_private_data_pids = {}; } return PMT; }()); export { PMT }; var PESData = /** @class */ (function () { function PESData() { } return PESData; }()); export { PESData }; var PESSliceQueue = /** @class */ (function () { function PESSliceQueue() { this.slices = []; this.total_length = 0; this.file_position = 0; } return PESSliceQueue; }()); export { PESSliceQueue }; //# sourceMappingURL=pat-pmt-pes.js.map