Package com.wowza.wms.transport.mpeg2
Class SectionAssembler
- Object
-
- com.wowza.wms.transport.mpeg2.SectionAssembler
-
- All Implemented Interfaces:
IMPEG2SectionListener
public class SectionAssembler extends Object implements IMPEG2SectionListener
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
deliverSection
The deliver section.protected AdaptationField
field
IMPEG2StreamListener
listener
The listener.IMPEG2UserMonitorSectionNotify
monitor
SpliceInformationTable
sit
The sit.-
Fields inherited from interface com.wowza.wms.transport.mpeg2.IMPEG2SectionListener
INVALID
-
-
Constructor Summary
Constructors Constructor Description SectionAssembler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
adaptationHeader(AdaptationField field)
Adaptation header.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(int PID, IMPEG2StreamListener listener, MPEG2MPTS stream, IMPEG2UserMonitorSectionNotify monitor)
Monitor start.void
monitorStop()
Monitor stop.void
sectionNotify(MPEG2Section section, boolean continuityError)
Section notify.
-
-
-
Field Detail
-
deliverSection
protected boolean deliverSection
The deliver section.
-
listener
public IMPEG2StreamListener listener
The listener.
-
monitor
public IMPEG2UserMonitorSectionNotify monitor
-
sit
public SpliceInformationTable sit
The sit.
-
field
protected AdaptationField field
-
-
Method Detail
-
adaptationHeader
public void adaptationHeader(AdaptationField field)
Description copied from interface:IMPEG2SectionListener
Adaptation header.- Specified by:
adaptationHeader
in interfaceIMPEG2SectionListener
- Parameters:
field
- the field
-
headerNotify
public boolean headerNotify(MPEG2Section section)
Description copied from interface:IMPEG2SectionListener
Header notify.- Specified by:
headerNotify
in interfaceIMPEG2SectionListener
- Parameters:
section
- the section- Returns:
- true, if successful
-
sectionNotify
public void sectionNotify(MPEG2Section section, boolean continuityError)
Description copied from interface:IMPEG2SectionListener
Section notify.- Specified by:
sectionNotify
in interfaceIMPEG2SectionListener
- Parameters:
section
- the sectioncontinuityError
- the continuity error
-
monitorStart
public void monitorStart(int PID, IMPEG2StreamListener listener, MPEG2MPTS stream, IMPEG2UserMonitorSectionNotify monitor)
Monitor start.- Parameters:
PID
- the pidlistener
- the listenerstream
- the stream
-
monitorStop
public void monitorStop()
Monitor stop.
-
logThrottleDoLog
public boolean logThrottleDoLog()
- Specified by:
logThrottleDoLog
in interfaceIMPEG2SectionListener
-
logFatal
public void logFatal(String comment)
- Specified by:
logFatal
in interfaceIMPEG2SectionListener
-
logError
public void logError(String comment)
- Specified by:
logError
in interfaceIMPEG2SectionListener
-
logError
public void logError(String comment, Exception e)
- Specified by:
logError
in interfaceIMPEG2SectionListener
-
logWarn
public void logWarn(String comment)
- Specified by:
logWarn
in interfaceIMPEG2SectionListener
-
logInfo
public void logInfo(String comment)
- Specified by:
logInfo
in interfaceIMPEG2SectionListener
-
logDebug
public void logDebug(String comment)
- Specified by:
logDebug
in interfaceIMPEG2SectionListener
-
-