Package com.wowza.wms.transport.mpeg2
Class MPEG2PMTAssembler
- Object
- 
- com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
- 
- com.wowza.wms.transport.mpeg2.MPEG2PMTAssembler
 
 
- 
- All Implemented Interfaces:
- IMPEG2SectionListener
 
 public class MPEG2PMTAssembler extends MPEG2TableAssembler The Class mpeg2PMTAssembler.
- 
- 
Field SummaryFields Modifier and Type Field Description protected booleandeliverSectionThe deliver section.IMPEG2StreamListenerlistenerThe listener.intPIDThe pid.ProgramMapTablePMTThe pmt.intprogramNoThe program no.- 
Fields inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssemblercurrentVersion, deliver, INVALID, sections
 
- 
 - 
Constructor SummaryConstructors Constructor Description MPEG2PMTAssembler()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadaptationHeader(AdaptationField field)Adaptation header.voidbuildTable()Builds the table.booleanheaderNotify(MPEG2Section section)Header notify.voidlogDebug(String comment)voidlogError(String comment)voidlogError(String comment, Exception e)voidlogFatal(String comment)voidlogInfo(String comment)booleanlogThrottleDoLog()voidlogWarn(String comment)voidmonitorStart(ProgramAssociationTable.ProgramEntry program, IMPEG2StreamListener listener, MPEG2MPTS stream)Monitor start.voidmonitorStop()Monitor stop.booleantableExist()Table exist.inttableVersion()Table version.- 
Methods inherited from class com.wowza.wms.transport.mpeg2.MPEG2TableAssemblergetShortClassName, sectionNotify
 
- 
 
- 
- 
- 
Field Detail- 
PMTpublic ProgramMapTable PMT The pmt.
 - 
PIDpublic int PID The pid.
 - 
programNopublic int programNo The program no.
 - 
listenerpublic IMPEG2StreamListener listener The listener.
 - 
deliverSectionprotected boolean deliverSection The deliver section.
 
- 
 - 
Method Detail- 
adaptationHeaderpublic void adaptationHeader(AdaptationField field) Description copied from interface:IMPEG2SectionListenerAdaptation header.- Specified by:
- adaptationHeaderin interface- IMPEG2SectionListener
- Specified by:
- adaptationHeaderin class- MPEG2TableAssembler
- Parameters:
- field- the field
 
 - 
tableExistpublic boolean tableExist() Description copied from class:MPEG2TableAssemblerTable exist.- Specified by:
- tableExistin class- MPEG2TableAssembler
- Returns:
- true, if successful
 
 - 
tableVersionpublic int tableVersion() Description copied from class:MPEG2TableAssemblerTable version.- Specified by:
- tableVersionin class- MPEG2TableAssembler
- Returns:
- the int
 
 - 
headerNotifypublic boolean headerNotify(MPEG2Section section) Description copied from interface:IMPEG2SectionListenerHeader notify.- Specified by:
- headerNotifyin interface- IMPEG2SectionListener
- Overrides:
- headerNotifyin class- MPEG2TableAssembler
- Parameters:
- section- the section
- Returns:
- true, if successful
 
 - 
buildTablepublic void buildTable() Description copied from class:MPEG2TableAssemblerBuilds the table.- Specified by:
- buildTablein class- MPEG2TableAssembler
 
 - 
monitorStartpublic void monitorStart(ProgramAssociationTable.ProgramEntry program, IMPEG2StreamListener listener, MPEG2MPTS stream) Monitor start.- Parameters:
- program- the program
- listener- the listener
- stream- the stream
 
 - 
monitorStoppublic void monitorStop() Monitor stop.
 - 
logThrottleDoLogpublic boolean logThrottleDoLog() 
 - 
logFatalpublic void logFatal(String comment) 
 - 
logErrorpublic void logError(String comment) 
 - 
logErrorpublic void logError(String comment, Exception e)
 - 
logWarnpublic void logWarn(String comment) 
 - 
logInfopublic void logInfo(String comment) 
 - 
logDebugpublic void logDebug(String comment) 
 
- 
 
-