Class ProgramMapTable

Object
com.wowza.wms.transport.mpeg2.ProgramMapTable

public class ProgramMapTable extends Object
The Class ProgramMapTable.
  • Field Details

    • INVALID

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

      public static final int PMT_TABLE_ID
      The Constant PMT_TABLE_ID.
      See Also:
    • NO_PCR_PID

      public static final int NO_PCR_PID
      The Constant NO_PCR_PID.
      See Also:
    • programNo

      public int programNo
      The program no.
    • version

      public int version
      The version.
    • PCR_PID

      public int PCR_PID
      The pcr pid.
    • programDescriptors

      public com.wowza.util.MultiMap<Integer,Descriptor> programDescriptors
      The program descriptors.
    • streams

      The streams.
  • Constructor Details

    • ProgramMapTable

      public ProgramMapTable()
      Instantiates a new program map table.
    • ProgramMapTable

      public ProgramMapTable(Map<Integer,MPEG2Section> sections)
      Instantiates a new program map table.
      Parameters:
      sections - the sections
  • Method Details

    • toBin

      public void toBin(ByteBuffer buffer)
      converts the Progarm map table to binary for use in a transport form
      Parameters:
      buffer - a ByteBuffer to put the binary data.
    • binarySize

      public int binarySize()
      calculates the binary size of the Stream Info structure
      Returns:
      includes the size of all descriptors included in the stream
    • toString

      public String toString()
      Overrides:
      toString in class Object