Package com.wowza.wms.transport.mpeg2
Class ProgramMapTable
- Object
- 
- com.wowza.wms.transport.mpeg2.ProgramMapTable
 
- 
 public class ProgramMapTable extends ObjectThe Class ProgramMapTable.
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description classProgramMapTable.StreamInfoThe Class StreamInfo.
 - 
Field SummaryFields Modifier and Type Field Description static intINVALIDThe Constant INVALID.static intNO_PCR_PIDThe Constant NO_PCR_PID.intPCR_PIDThe pcr pid.static intPMT_TABLE_IDThe Constant PMT_TABLE_ID.com.wowza.util.MultiMap<Integer,Descriptor>programDescriptorsThe program descriptors.intprogramNoThe program no.java.util.Map<Integer,ProgramMapTable.StreamInfo>streamsThe streams.intversionThe version.
 - 
Constructor SummaryConstructors Constructor Description ProgramMapTable()Instantiates a new program map table.ProgramMapTable(java.util.Map<Integer,MPEG2Section> sections)Instantiates a new program map table.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description intbinarySize()calculates the binary size of the Stream Info structurevoidtoBin(java.nio.ByteBuffer buffer)converts the Progarm map table to binary for use in a transport formStringtoString()
 
- 
- 
- 
Field Detail- 
INVALIDpublic static final int INVALID The Constant INVALID.- See Also:
- Constant Field Values
 
 - 
PMT_TABLE_IDpublic static final int PMT_TABLE_ID The Constant PMT_TABLE_ID.- See Also:
- Constant Field Values
 
 - 
NO_PCR_PIDpublic static final int NO_PCR_PID The Constant NO_PCR_PID.- See Also:
- Constant Field Values
 
 - 
programNopublic int programNo The program no.
 - 
versionpublic int version The version.
 - 
PCR_PIDpublic int PCR_PID The pcr pid.
 - 
programDescriptorspublic com.wowza.util.MultiMap<Integer,Descriptor> programDescriptors The program descriptors.
 - 
streamspublic java.util.Map<Integer,ProgramMapTable.StreamInfo> streams The streams.
 
- 
 - 
Constructor Detail- 
ProgramMapTablepublic ProgramMapTable() Instantiates a new program map table.
 - 
ProgramMapTablepublic ProgramMapTable(java.util.Map<Integer,MPEG2Section> sections) Instantiates a new program map table.- Parameters:
- sections- the sections
 
 
- 
 - 
Method Detail- 
toBinpublic 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.
 
 - 
binarySizepublic int binarySize() calculates the binary size of the Stream Info structure- Returns:
- includes the size of all descriptors included in the stream
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- Object
 
 
- 
 
-