Package com.wowza.wms.transport.mpeg2
Class ProgramMapTable.StreamInfo
- Object
-
- com.wowza.wms.transport.mpeg2.ProgramMapTable.StreamInfo
-
- Enclosing class:
- ProgramMapTable
public class ProgramMapTable.StreamInfo extends Object
The Class StreamInfo.
-
-
Field Summary
Fields Modifier and Type Field Description com.wowza.util.MultiMap<Integer,Descriptor>
descriptors
The descriptors.int
PID
The pid.int
streamType
The stream type.static int
STREAMTYPE_AUDIO_AAC_LOAS
static int
STREAMTYPE_AUDIO_AC3_ATSC
static int
STREAMTYPE_AUDIO_ADTS_AAC
static int
STREAMTYPE_AUDIO_EAC3_ATSC
static int
STREAMTYPE_AUDIO_MP3_1
static int
STREAMTYPE_AUDIO_MP3_2
static int
STREAMTYPE_CUEI
static int
STREAMTYPE_VIDEO_H264
static int
STREAMTYPE_VIDEO_HEVC
static int
STREAMTYPE_VIDEO_MPEG4
static int
STREAMTYPE_VIDEO1_MPEG2
static int
STREAMTYPE_VIDEO2_MPEG2
-
Constructor Summary
Constructors Constructor Description StreamInfo()
Instantiates a new stream info.StreamInfo(MPEG2Section section)
Instantiates a new stream info.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
binarySize()
calculates the binary size of the Stream Info structureint
getAudioCodec()
int
getVideoCodec()
boolean
isAudioStreamType()
Checks if is audio stream type.boolean
isVideoStreamType()
Checks if is video stream type.String
toString()
-
-
-
Field Detail
-
STREAMTYPE_VIDEO_H264
public static final int STREAMTYPE_VIDEO_H264
- See Also:
- Constant Field Values
-
STREAMTYPE_VIDEO1_MPEG2
public static final int STREAMTYPE_VIDEO1_MPEG2
- See Also:
- Constant Field Values
-
STREAMTYPE_VIDEO2_MPEG2
public static final int STREAMTYPE_VIDEO2_MPEG2
- See Also:
- Constant Field Values
-
STREAMTYPE_VIDEO_MPEG4
public static final int STREAMTYPE_VIDEO_MPEG4
- See Also:
- Constant Field Values
-
STREAMTYPE_VIDEO_HEVC
public static final int STREAMTYPE_VIDEO_HEVC
- See Also:
- Constant Field Values
-
STREAMTYPE_AUDIO_ADTS_AAC
public static final int STREAMTYPE_AUDIO_ADTS_AAC
- See Also:
- Constant Field Values
-
STREAMTYPE_AUDIO_AAC_LOAS
public static final int STREAMTYPE_AUDIO_AAC_LOAS
- See Also:
- Constant Field Values
-
STREAMTYPE_AUDIO_MP3_1
public static final int STREAMTYPE_AUDIO_MP3_1
- See Also:
- Constant Field Values
-
STREAMTYPE_AUDIO_MP3_2
public static final int STREAMTYPE_AUDIO_MP3_2
- See Also:
- Constant Field Values
-
STREAMTYPE_AUDIO_AC3_ATSC
public static final int STREAMTYPE_AUDIO_AC3_ATSC
- See Also:
- Constant Field Values
-
STREAMTYPE_AUDIO_EAC3_ATSC
public static final int STREAMTYPE_AUDIO_EAC3_ATSC
- See Also:
- Constant Field Values
-
STREAMTYPE_CUEI
public static final int STREAMTYPE_CUEI
- See Also:
- Constant Field Values
-
streamType
public int streamType
The stream type.
-
PID
public int PID
The pid.
-
descriptors
public com.wowza.util.MultiMap<Integer,Descriptor> descriptors
The descriptors.
-
-
Constructor Detail
-
StreamInfo
public StreamInfo()
Instantiates a new stream info.
-
StreamInfo
public StreamInfo(MPEG2Section section)
Instantiates a new stream info.- Parameters:
section
- the section
-
-
Method Detail
-
isAudioStreamType
public boolean isAudioStreamType()
Checks if is audio stream type.- Returns:
- true, if is audio stream type
-
getAudioCodec
public int getAudioCodec()
-
isVideoStreamType
public boolean isVideoStreamType()
Checks if is video stream type.- Returns:
- true, if is video stream type
-
getVideoCodec
public int getVideoCodec()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
binarySize
public int binarySize()
calculates the binary size of the Stream Info structure- Returns:
- includes the size of all descriptors included in the stream
-
-