Package com.wowza.wms.transport.mpeg2
Class MPEG2PATAssembler
Object
com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
com.wowza.wms.transport.mpeg2.MPEG2PATAssembler
- All Implemented Interfaces:
IMPEG2SectionListener
The Class mpeg2PATAssembler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
The deliver section.The listeners.The pat.static final int
The Constant PAT_PID.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
(IMPEG2StreamListener listener, MPEG2MPTS stream) Monitor start.void
monitorStop
(IMPEG2StreamListener listener) Monitor stop.boolean
Table exist.int
Table version.Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
getShortClassName, sectionNotify
-
Field Details
-
PAT_PID
public static final int PAT_PIDThe Constant PAT_PID.- See Also:
-
PAT
The pat. -
listeners
The listeners. -
deliverSection
protected boolean deliverSectionThe deliver section.
-
-
Constructor Details
-
MPEG2PATAssembler
public MPEG2PATAssembler()
-
-
Method Details
-
adaptationHeader
Description copied from interface:IMPEG2SectionListener
Adaptation header.- Specified by:
adaptationHeader
in interfaceIMPEG2SectionListener
- Specified by:
adaptationHeader
in classMPEG2TableAssembler
- Parameters:
field
- the field
-
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
-
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
-
buildTable
public void buildTable()Description copied from class:MPEG2TableAssembler
Builds the table.- Specified by:
buildTable
in classMPEG2TableAssembler
-
monitorStart
Monitor start.- Parameters:
listener
- the listenerstream
- the stream
-
monitorStop
Monitor stop.- Parameters:
listener
- the listener
-
logThrottleDoLog
public boolean logThrottleDoLog() -
logFatal
-
logError
-
logError
-
logWarn
-
logInfo
-
logDebug
-