Package com.wowza.wms.transport.mpeg2
Class ProgramMapTable
Object
com.wowza.wms.transport.mpeg2.ProgramMapTable
The Class ProgramMapTable.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The Constant INVALID.static final int
The Constant NO_PCR_PID.int
The pcr pid.static final int
The Constant PMT_TABLE_ID.com.wowza.util.MultiMap<Integer,
Descriptor> The program descriptors.int
The program no.The streams.int
The version. -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new program map table.ProgramMapTable
(Map<Integer, MPEG2Section> sections) Instantiates a new program map table. -
Method Summary
Modifier and TypeMethodDescriptionint
calculates the binary size of the Stream Info structurevoid
toBin
(ByteBuffer buffer) converts the Progarm map table to binary for use in a transport formtoString()
-
Field Details
-
INVALID
public static final int INVALIDThe Constant INVALID.- See Also:
-
PMT_TABLE_ID
public static final int PMT_TABLE_IDThe Constant PMT_TABLE_ID.- See Also:
-
NO_PCR_PID
public static final int NO_PCR_PIDThe Constant NO_PCR_PID.- See Also:
-
programNo
public int programNoThe program no. -
version
public int versionThe version. -
PCR_PID
public int PCR_PIDThe pcr pid. -
programDescriptors
The program descriptors. -
streams
The streams.
-
-
Constructor Details
-
ProgramMapTable
public ProgramMapTable()Instantiates a new program map table. -
ProgramMapTable
Instantiates a new program map table.- Parameters:
sections
- the sections
-
-
Method Details
-
toBin
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
-