Class ProgramMapTable


  • public class ProgramMapTable
    extends Object
    The Class ProgramMapTable.
    • Constructor Summary

      Constructors 
      Constructor Description
      ProgramMapTable()
      Instantiates a new program map table.
      ProgramMapTable​(java.util.Map<Integer,​MPEG2Section> sections)
      Instantiates a new program map table.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int binarySize()
      calculates the binary size of the Stream Info structure
      void toBin​(java.nio.ByteBuffer buffer)
      converts the Progarm map table to binary for use in a transport form
      String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • PMT_TABLE_ID

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

        public static final int NO_PCR_PID
        The Constant NO_PCR_PID.
        See Also:
        Constant Field Values
      • 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.
    • Constructor Detail

      • ProgramMapTable

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

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

      • toBin

        public void toBin​(java.nio.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