Class ProgramMapTable.StreamInfo

Object
com.wowza.wms.transport.mpeg2.ProgramMapTable.StreamInfo
Enclosing class:
ProgramMapTable

public class ProgramMapTable.StreamInfo extends Object
The Class StreamInfo.
  • 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 streamType
      The stream type.
    • PID

      public int PID
      The pid.
    • descriptors

      public com.wowza.util.MultiMap<Integer,Descriptor> descriptors
      The descriptors.
  • Constructor Details

    • StreamInfo

      public StreamInfo()
      Instantiates a new stream info.
    • StreamInfo

      public StreamInfo(MPEG2Section section)
      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

      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