Class MPEG2TableAssembler

Object
com.wowza.wms.transport.mpeg2.MPEG2TableAssembler
All Implemented Interfaces:
IMPEG2SectionListener
Direct Known Subclasses:
MPEG2PATAssembler, MPEG2PMTAssembler

public abstract class MPEG2TableAssembler extends Object implements IMPEG2SectionListener
The Class mpeg2TableAssembler.
  • Field Details

    • INVALID

      public static final int INVALID
      The Constant INVALID.
      See Also:
    • deliver

      public boolean deliver
      The deliver.
    • sections

      protected Map<Integer,MPEG2Section> sections
      The sections.
    • currentVersion

      public int currentVersion
      The current version.
  • Constructor Details

    • MPEG2TableAssembler

      public MPEG2TableAssembler()
  • Method Details

    • headerNotify

      public boolean headerNotify(MPEG2Section section)
      Description copied from interface: IMPEG2SectionListener
      Header notify.
      Specified by:
      headerNotify in interface IMPEG2SectionListener
      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 interface IMPEG2SectionListener
      Parameters:
      section - the section
      continuityError - the continuity error
    • getShortClassName

      public String getShortClassName()
      getShortClassName returns just the class name instead of the com.wms.xxx.xx.className
    • adaptationHeader

      public abstract void adaptationHeader(AdaptationField field)
      Description copied from interface: IMPEG2SectionListener
      Adaptation header.
      Specified by:
      adaptationHeader in interface IMPEG2SectionListener
      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.