Class RegistrationDescriptor

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

public class RegistrationDescriptor extends Descriptor
The Class RegistrationDescriptor.
  • Field Details

    • REG_IDENTIFICATION_SCTE_SPLICE_FORMAT

      public static final int REG_IDENTIFICATION_SCTE_SPLICE_FORMAT
      The Constant REG_IDENTIFICATION_SCTE_SPLICE_FORMAT.
      See Also:
    • REG_IDENTIFICATION_HEVC

      public static final int REG_IDENTIFICATION_HEVC
      See Also:
    • REG_IDENTIFICATION_KLV

      public static final int REG_IDENTIFICATION_KLV
      See Also:
    • formatIdentifier

      public int formatIdentifier
      The format identifier.
    • additionalIdentificationData

      public byte[] additionalIdentificationData
      The additional identification data.
  • Constructor Details

    • RegistrationDescriptor

      public RegistrationDescriptor()
      Instantiates a new registration descriptor.
    • RegistrationDescriptor

      public RegistrationDescriptor(ByteBuffer descriptorData)
      Instantiates a new registration descriptor from the provided byte buffer
      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)
      Encodes the registration 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 registration 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