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
public class MPEG2PMTAssembler extends MPEG2TableAssembler
The Class mpeg2PMTAssembler.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deliverSection
The deliver section.IMPEG2StreamListener
listener
The listener.int
PID
The pid.ProgramMapTable
PMT
The pmt.int
programNo
The program no.-
Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
currentVersion, deliver, INVALID, sections
-
-
Constructor Summary
Constructors Constructor Description MPEG2PMTAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adaptationHeader(AdaptationField field)
Adaptation header.void
buildTable()
Builds the table.boolean
headerNotify(MPEG2Section section)
Header notify.void
logDebug(String comment)
void
logError(String comment)
void
logError(String comment, Exception e)
void
logFatal(String comment)
void
logInfo(String comment)
boolean
logThrottleDoLog()
void
logWarn(String comment)
void
monitorStart(ProgramAssociationTable.ProgramEntry program, IMPEG2StreamListener listener, MPEG2MPTS stream)
Monitor start.void
monitorStop()
Monitor stop.boolean
tableExist()
Table exist.int
tableVersion()
Table version.-
Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
getShortClassName, sectionNotify
-
-
-
-
Field Detail
-
PMT
public ProgramMapTable PMT
The pmt.
-
PID
public int PID
The pid.
-
programNo
public int programNo
The program no.
-
listener
public IMPEG2StreamListener listener
The listener.
-
deliverSection
protected boolean deliverSection
The deliver section.
-
-
Method Detail
-
adaptationHeader
public void adaptationHeader(AdaptationField field)
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
public boolean headerNotify(MPEG2Section section)
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
public void logFatal(String comment)
-
logError
public void logError(String comment)
-
logError
public void logError(String comment, Exception e)
-
logWarn
public void logWarn(String comment)
-
logInfo
public void logInfo(String comment)
-
logDebug
public void logDebug(String comment)
-
-