Package com.wowza.wms.transport.mpeg2
Class ProgramMapTable.StreamInfo
Object
com.wowza.wms.transport.mpeg2.ProgramMapTable.StreamInfo
- Enclosing class:
- ProgramMapTable
The Class StreamInfo.
-
Field Summary
FieldsModifier and TypeFieldDescriptioncom.wowza.util.MultiMap<Integer,Descriptor> The descriptors.intThe pid.intThe stream type.static final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new stream info.StreamInfo(MPEG2Section section) Instantiates a new stream info. -
Method Summary
Modifier and TypeMethodDescriptionintcalculates the binary size of the Stream Info structureintintbooleanChecks if is audio stream type.booleanChecks if is video stream type.toString()
-
Field Details
-
STREAMTYPE_VIDEO_H264
public static final int STREAMTYPE_VIDEO_H264- See Also:
-
STREAMTYPE_VIDEO1_MPEG2
public static final int STREAMTYPE_VIDEO1_MPEG2- See Also:
-
STREAMTYPE_VIDEO2_MPEG2
public static final int STREAMTYPE_VIDEO2_MPEG2- See Also:
-
STREAMTYPE_VIDEO_MPEG4
public static final int STREAMTYPE_VIDEO_MPEG4- See Also:
-
STREAMTYPE_VIDEO_HEVC
public static final int STREAMTYPE_VIDEO_HEVC- See Also:
-
STREAMTYPE_AUDIO_ADTS_AAC
public static final int STREAMTYPE_AUDIO_ADTS_AAC- See Also:
-
STREAMTYPE_AUDIO_AAC_LOAS
public static final int STREAMTYPE_AUDIO_AAC_LOAS- See Also:
-
STREAMTYPE_AUDIO_MP3_1
public static final int STREAMTYPE_AUDIO_MP3_1- See Also:
-
STREAMTYPE_AUDIO_MP3_2
public static final int STREAMTYPE_AUDIO_MP3_2- See Also:
-
STREAMTYPE_AUDIO_AC3_ATSC
public static final int STREAMTYPE_AUDIO_AC3_ATSC- See Also:
-
STREAMTYPE_AUDIO_EAC3_ATSC
public static final int STREAMTYPE_AUDIO_EAC3_ATSC- See Also:
-
STREAMTYPE_CUEI
public static final int STREAMTYPE_CUEI- See Also:
-
streamType
public int streamTypeThe stream type. -
PID
public int PIDThe pid. -
descriptors
The descriptors.
-
-
Constructor Details
-
StreamInfo
public StreamInfo()Instantiates a new stream info. -
StreamInfo
Instantiates a new stream info.- Parameters:
section- the section
-
-
Method Details
-
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
-
binarySize
public int binarySize()calculates the binary size of the Stream Info structure- Returns:
- includes the size of all descriptors included in the stream
-