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 booleanThe deliver section.The listeners.The pat.static final intThe Constant PAT_PID.Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
currentVersion, deliver, INVALID, sections -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadaptationHeader(AdaptationField field) Adaptation header.voidBuilds the table.booleanheaderNotify(MPEG2Section section) Header notify.voidvoidvoidvoidvoidbooleanvoidvoidmonitorStart(IMPEG2StreamListener listener, MPEG2MPTS stream) Monitor start.voidmonitorStop(IMPEG2StreamListener listener) Monitor stop.booleanTable exist.intTable 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:IMPEG2SectionListenerAdaptation header.- Specified by:
adaptationHeaderin interfaceIMPEG2SectionListener- Specified by:
adaptationHeaderin classMPEG2TableAssembler- Parameters:
field- the field
-
headerNotify
Description copied from interface:IMPEG2SectionListenerHeader notify.- Specified by:
headerNotifyin interfaceIMPEG2SectionListener- Overrides:
headerNotifyin classMPEG2TableAssembler- Parameters:
section- the section- Returns:
- true, if successful
-
tableExist
public boolean tableExist()Description copied from class:MPEG2TableAssemblerTable exist.- Specified by:
tableExistin classMPEG2TableAssembler- Returns:
- true, if successful
-
tableVersion
public int tableVersion()Description copied from class:MPEG2TableAssemblerTable version.- Specified by:
tableVersionin classMPEG2TableAssembler- Returns:
- the int
-
buildTable
public void buildTable()Description copied from class:MPEG2TableAssemblerBuilds the table.- Specified by:
buildTablein 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
-