Class ProgramMapTable.StreamInfo

  • Enclosing class:
    ProgramMapTable

    public class ProgramMapTable.StreamInfo
    extends Object
    The Class StreamInfo.
    • Field Detail

      • 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_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_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

        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 class Object
      • binarySize

        public int binarySize()
        calculates the binary size of the Stream Info structure
        Returns:
        includes the size of all descriptors included in the stream