Class StreamIdentifierDescriptor

Object
com.wowza.wms.transport.mpeg2.Descriptor
com.wowza.wms.transport.mpeg2.StreamIdentifierDescriptor

public class StreamIdentifierDescriptor extends Descriptor
The Class StreamIdentifierDescriptor. The stream identifier descriptor may be used in the PMT to label component streams of a service so that they can be differentiated. The stream identifier descriptor shall be located in the elementary descriptor loop following the relevant ES_info_length field. The stream identifier descriptor shall be used if either the program_splice_flag or the program_segmentation_flag is zero. If stream identifier descriptors are used, a stream identifier descriptor shall be present in each occurrence of the elementary stream loop within the PMT and shall have a unique component tag within the given program.
  • Field Details

    • componentTag

      public int componentTag
      The component tag.
  • Constructor Details

    • StreamIdentifierDescriptor

      public StreamIdentifierDescriptor()
      Instantiates a new stream identifier descriptor.
    • StreamIdentifierDescriptor

      public StreamIdentifierDescriptor(ByteBuffer descriptorData)
      Instantiates a new stream identifier descriptor.
      Parameters:
      descriptorData - the descriptor data
  • Method Details

    • decodeDescriptorData

      public void decodeDescriptorData(ByteBuffer descriptorData)
      Description copied from class: Descriptor
      Decode descriptor data.
      Overrides:
      decodeDescriptorData in class Descriptor
      Parameters:
      descriptorData - the descriptor data
    • toBin

      public void toBin(ByteBuffer buffer)
      Description copied from class: Descriptor
      Encodes the descriptor into binary format for use in a transport
      Overrides:
      toBin in class Descriptor
      Parameters:
      buffer - a ByteBuffer to put the descriptor binary data into
    • binarySize

      public int binarySize()
      How big is the Stream Identifier descriptor in binary.
      Overrides:
      binarySize in class Descriptor
      Returns:
      the total size of the descriptor in binary form, includes tag and length fields
    • toString

      public String toString()
      Overrides:
      toString in class Descriptor
    • getComponentTag

      public int getComponentTag()