| Description | Hierarchy | Fields | Methods | Properties | 
type unaMpegTSDemuxer = class(unaObject)
MPEG-TS Demuxer
![]()  | 
constructor Create(reader: unaBitReader_abstract); | 
![]()  | 
destructor Destroy(); override; | 
![]()  | 
function demux(loop, lookupSynch: bool; userData: pointer = nil): bool; | 
![]()  | 
procedure onDX_event(PID: TPID; EV: unaMpegTSEvent); virtual; | 
![]()  | 
procedure onDX_payload(PID: TPID; data: pointer; len: int; userData: pointer = nil); virtual; | 
![]()  | 
procedure onDX_table(PID: TPID; tableID: TPID); virtual; | 
![]()  | 
property desc: unaMpegTSDescriptorList read f_descripors; | 
![]()  | 
property estreams: unaMpegTS_pwnIDList read f_estreams; | 
![]()  | 
property networks: unaMpegTS_pwnIDList read f_networks; | 
![]()  | 
property NID: TPID read f_NID; | 
![]()  | 
property programs: unaMpegTS_pwnIDList read f_programs; | 
![]()  | 
property reader: unaBitReader_abstract read f_reader; | 
![]()  | 
property services: unaMpegTS_pwnIDList read f_services; | 
![]()  | 
property stat: punaMpegTSDemuxerStat read f_stat; | 
![]()  | 
property tolerateContinuity: bool read f_tolerateC write f_tolerateC; | 
![]()  | 
property TSID: TPID read f_ts_id; | 
![]()  | 
constructor Create(reader: unaBitReader_abstract); | 
| 
 Creates a demuxer, prividing a reader for it.  | |
![]()  | 
destructor Destroy(); override; | 
| 
 Destroys demuxer.  | |
![]()  | 
function demux(loop, lookupSynch: bool; userData: pointer = nil): bool; | 
| 
 Demux another portion of raw data available in reader. 
 Parameters
 ReturnsTrue if demuxing of at least one packet was successfull  | |
![]()  | 
procedure onDX_event(PID: TPID; EV: unaMpegTSEvent); virtual; | 
| 
 Override to get events as they appear in stream.  | |
![]()  | 
procedure onDX_payload(PID: TPID; data: pointer; len: int; userData: pointer = nil); virtual; | 
| 
 Override to get demuxed payload.  | |
![]()  | 
procedure onDX_table(PID: TPID; tableID: TPID); virtual; | 
| 
 Override to get notified about tables.  | |
![]()  | 
property desc: unaMpegTSDescriptorList read f_descripors; | 
| 
 Global TS descriptors, indexed by tags  | |
![]()  | 
property estreams: unaMpegTS_pwnIDList read f_estreams; | 
| 
 Elementary streams, indexed by PIDs  | |
![]()  | 
property networks: unaMpegTS_pwnIDList read f_networks; | 
| 
 Networks, indexed by nid  | |
![]()  | 
property NID: TPID read f_NID; | 
| 
 NID  | |
![]()  | 
property programs: unaMpegTS_pwnIDList read f_programs; | 
| 
 Programs, indexed by program numbers  | |
![]()  | 
property reader: unaBitReader_abstract read f_reader; | 
| 
 Bit reader used by demuxer  | |
![]()  | 
property services: unaMpegTS_pwnIDList read f_services; | 
| 
 Services, indexed by service id  | |
![]()  | 
property stat: punaMpegTSDemuxerStat read f_stat; | 
| 
 Some statistic  | |
![]()  | 
property tolerateContinuity: bool read f_tolerateC write f_tolerateC; | 
| 
 Tolerate minor continuity errors  | |
![]()  | 
property TSID: TPID read f_ts_id; | 
| 
 Transport Stream ID  | |
(c) 2012 Lake of Soft