Class CUEIdentifierDescriptor


  • public class CUEIdentifierDescriptor
    extends Descriptor
    The Class CUEIdentifierDescriptor. The cue_identifier_descriptor may be used in the PMT to label PIDs that carry splice commands so that they can be differentiated as to the type or level of splice commands they carry. The cue_identifier_descriptor, when present, shall be located in the elementary descriptor loop. If the cue_identifier_descriptor is not utilized, the stream may carry any valid command in this specification.
    • Field Detail

      • CUE_STREAM_TYPE_INSERT_NULL_SCHEDULE

        public static final int CUE_STREAM_TYPE_INSERT_NULL_SCHEDULE
        The Constant CUE_STREAM_TYPE_INSERT_NULL_SCHEDULE.
        See Also:
        Constant Field Values
      • CUE_STREAM_TYPE_ALL_COMMANDS

        public static final int CUE_STREAM_TYPE_ALL_COMMANDS
        The Constant CUE_STREAM_TYPE_ALL_COMMANDS.
        See Also:
        Constant Field Values
      • CUE_STREAM_TYPE_SEGMENTATION

        public static final int CUE_STREAM_TYPE_SEGMENTATION
        The Constant CUE_STREAM_TYPE_SEGMENTATION.
        See Also:
        Constant Field Values
      • CUE_STREAM_TYPE_TIERED_SPLICING

        public static final int CUE_STREAM_TYPE_TIERED_SPLICING
        The Constant CUE_STREAM_TYPE_TIERED_SPLICING.
        See Also:
        Constant Field Values
      • CUE_STREAM_TYPE_TIERED_SEGMENTATION

        public static final int CUE_STREAM_TYPE_TIERED_SEGMENTATION
        The Constant CUE_STREAM_TYPE_TIERED_SEGMENTATION.
        See Also:
        Constant Field Values
      • cueStreamType

        public int cueStreamType
        The CUE stream type.
    • Constructor Detail

      • CUEIdentifierDescriptor

        public CUEIdentifierDescriptor()
        Instantiates a new CUE identifier descriptor
      • CUEIdentifierDescriptor

        public CUEIdentifierDescriptor​(java.nio.ByteBuffer descriptorData)
        Instantiates a new CUE identifier descriptor.
        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 descriptor into binary format for us in 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 descriptor in binary
        Overrides:
        binarySize in class Descriptor
        Returns:
        the total size of the descriptor in binary form, includes tag and length fields