Package com.wowza.wms.transport.mpeg2
Class MPEG2PMTAssembler
Object
com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
com.wowza.wms.transport.mpeg2.MPEG2PMTAssembler
- All Implemented Interfaces:
IMPEG2SectionListener
The Class mpeg2PMTAssembler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
The deliver section.The listener.int
The pid.The pmt.int
The program no.Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
currentVersion, deliver, INVALID, sections
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
adaptationHeader
(AdaptationField field) Adaptation header.void
Builds the table.boolean
headerNotify
(MPEG2Section section) Header notify.void
void
void
void
void
boolean
void
void
monitorStart
(ProgramAssociationTable.ProgramEntry program, IMPEG2StreamListener listener, MPEG2MPTS stream) Monitor start.void
Monitor stop.boolean
Table exist.int
Table version.Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
getShortClassName, sectionNotify
-
Field Details
-
PMT
The pmt. -
PID
public int PIDThe pid. -
programNo
public int programNoThe program no. -
listener
The listener. -
deliverSection
protected boolean deliverSectionThe deliver section.
-
-
Constructor Details
-
MPEG2PMTAssembler
public MPEG2PMTAssembler()
-
-
Method Details
-
adaptationHeader
Description copied from interface:IMPEG2SectionListener
Adaptation header.- Specified by:
adaptationHeader
in interfaceIMPEG2SectionListener
- Specified by:
adaptationHeader
in classMPEG2TableAssembler
- Parameters:
field
- the field
-
tableExist
public boolean tableExist()Description copied from class:MPEG2TableAssembler
Table exist.- Specified by:
tableExist
in classMPEG2TableAssembler
- Returns:
- true, if successful
-
tableVersion
public int tableVersion()Description copied from class:MPEG2TableAssembler
Table version.- Specified by:
tableVersion
in classMPEG2TableAssembler
- Returns:
- the int
-
headerNotify
Description copied from interface:IMPEG2SectionListener
Header notify.- Specified by:
headerNotify
in interfaceIMPEG2SectionListener
- Overrides:
headerNotify
in classMPEG2TableAssembler
- Parameters:
section
- the section- Returns:
- true, if successful
-
buildTable
public void buildTable()Description copied from class:MPEG2TableAssembler
Builds the table.- Specified by:
buildTable
in classMPEG2TableAssembler
-
monitorStart
public void monitorStart(ProgramAssociationTable.ProgramEntry program, IMPEG2StreamListener listener, MPEG2MPTS stream) Monitor start.- Parameters:
program
- the programlistener
- the listenerstream
- the stream
-
monitorStop
public void monitorStop()Monitor stop. -
logThrottleDoLog
public boolean logThrottleDoLog() -
logFatal
-
logError
-
logError
-
logWarn
-
logInfo
-
logDebug
-