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 TypeFieldDescriptionintThe current version.booleanThe deliver.static final intThe Constant INVALID.protected Map<Integer,MPEG2Section> The sections. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voidadaptationHeader(AdaptationField field) Adaptation header.abstract voidBuilds the table.getShortClassName returns just the class name instead of the com.wms.xxx.xx.classNamebooleanheaderNotify(MPEG2Section section) Header notify.voidsectionNotify(MPEG2Section section, boolean continuityError) Section notify.abstract booleanTable exist.abstract intTable version.Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:IMPEG2SectionListenerHeader notify.- Specified by:
headerNotifyin interfaceIMPEG2SectionListener- Parameters:
section- the section- Returns:
- true, if successful
-
sectionNotify
Description copied from interface:IMPEG2SectionListenerSection notify.- Specified by:
sectionNotifyin 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:IMPEG2SectionListenerAdaptation header.- Specified by:
adaptationHeaderin 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.
-