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
public class MPEG2PATAssembler extends MPEG2TableAssembler
The Class mpeg2PATAssembler.
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deliverSection
The deliver section.java.util.List<IMPEG2StreamListener>
listeners
The listeners.ProgramAssociationTable
PAT
The pat.static int
PAT_PID
The Constant PAT_PID.-
Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
currentVersion, deliver, INVALID, sections
-
-
Constructor Summary
Constructors Constructor Description MPEG2PATAssembler()
-
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(IMPEG2StreamListener listener, MPEG2MPTS stream)
Monitor start.void
monitorStop(IMPEG2StreamListener listener)
Monitor stop.boolean
tableExist()
Table exist.int
tableVersion()
Table version.-
Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
getShortClassName, sectionNotify
-
-
-
-
Field Detail
-
PAT_PID
public static final int PAT_PID
The Constant PAT_PID.- See Also:
- Constant Field Values
-
PAT
public ProgramAssociationTable PAT
The pat.
-
listeners
public java.util.List<IMPEG2StreamListener> listeners
The listeners.
-
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
-
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
-
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
public void monitorStart(IMPEG2StreamListener listener, MPEG2MPTS stream)
Monitor start.- Parameters:
listener
- the listenerstream
- the stream
-
monitorStop
public void monitorStop(IMPEG2StreamListener listener)
Monitor stop.- Parameters:
listener
- the listener
-
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)
-
-