Package com.wowza.wms.transport.mpeg2
Class ProgramMapTable
- Object
-
- com.wowza.wms.transport.mpeg2.ProgramMapTable
-
public class ProgramMapTable extends Object
The Class ProgramMapTable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
ProgramMapTable.StreamInfo
The Class StreamInfo.
-
Field Summary
Fields Modifier and Type Field Description static int
INVALID
The Constant INVALID.static int
NO_PCR_PID
The Constant NO_PCR_PID.int
PCR_PID
The pcr pid.static int
PMT_TABLE_ID
The Constant PMT_TABLE_ID.com.wowza.util.MultiMap<Integer,Descriptor>
programDescriptors
The program descriptors.int
programNo
The program no.java.util.Map<Integer,ProgramMapTable.StreamInfo>
streams
The streams.int
version
The version.
-
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 structurevoid
toBin(java.nio.ByteBuffer buffer)
converts the Progarm map table to binary for use in a transport formString
toString()
-
-
-
Field Detail
-
INVALID
public static final int INVALID
The Constant INVALID.- See Also:
- Constant Field Values
-
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.
-
streams
public java.util.Map<Integer,ProgramMapTable.StreamInfo> streams
The streams.
-
-
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 classObject
-
-