Class RegistrationDescriptor


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

      • REG_IDENTIFICATION_SCTE_SPLICE_FORMAT

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

        public static final int REG_IDENTIFICATION_HEVC
        See Also:
        Constant Field Values
      • formatIdentifier

        public int formatIdentifier
        The format identifier.
      • additionalIdentificationData

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

      • RegistrationDescriptor

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

        public RegistrationDescriptor​(java.nio.ByteBuffer descriptorData)
        Instantiates a new registration descriptor from the provided byte buffer
        Parameters:
        descriptorData - the descriptor data
    • Method Detail

      • decodeDescriptorData

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

        public void toBin​(java.nio.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