Package com.wowza.wms.transport.mpeg2
Class MPEG2TableAssembler
Object
com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
- All Implemented Interfaces:
IMPEG2SectionListener
- Direct Known Subclasses:
MPEG2PATAssembler
,MPEG2PMTAssembler
The Class mpeg2TableAssembler.
-
Field Summary
FieldsModifier and TypeFieldDescriptionint
The current version.boolean
The deliver.static final int
The Constant INVALID.protected Map<Integer,
MPEG2Section> The sections. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract void
adaptationHeader
(AdaptationField field) Adaptation header.abstract void
Builds the table.getShortClassName returns just the class name instead of the com.wms.xxx.xx.classNameboolean
headerNotify
(MPEG2Section section) Header notify.void
sectionNotify
(MPEG2Section section, boolean continuityError) Section notify.abstract boolean
Table exist.abstract int
Table version.Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.wowza.wms.transport.mpeg2.IMPEG2SectionListener
logDebug, logError, logError, logFatal, logInfo, logThrottleDoLog, logWarn
-
Field Details
-
INVALID
public static final int INVALIDThe Constant INVALID.- See Also:
-
deliver
public boolean deliverThe deliver. -
sections
The sections. -
currentVersion
public int currentVersionThe current version.
-
-
Constructor Details
-
MPEG2TableAssembler
public MPEG2TableAssembler()
-
-
Method Details
-
headerNotify
Description copied from interface:IMPEG2SectionListener
Header notify.- Specified by:
headerNotify
in interfaceIMPEG2SectionListener
- Parameters:
section
- the section- Returns:
- true, if successful
-
sectionNotify
Description copied from interface:IMPEG2SectionListener
Section notify.- Specified by:
sectionNotify
in interfaceIMPEG2SectionListener
- Parameters:
section
- the sectioncontinuityError
- the continuity error
-
getShortClassName
getShortClassName returns just the class name instead of the com.wms.xxx.xx.className -
adaptationHeader
Description copied from interface:IMPEG2SectionListener
Adaptation header.- Specified by:
adaptationHeader
in interfaceIMPEG2SectionListener
- Parameters:
field
- the field
-
tableExist
public abstract boolean tableExist()Table exist.- Returns:
- true, if successful
-
tableVersion
public abstract int tableVersion()Table version.- Returns:
- the int
-
buildTable
public abstract void buildTable()Builds the table.
-