Class Descriptor

    • Field Detail

      • DESCRIPTOR_TAG_VIDEO

        public static final int DESCRIPTOR_TAG_VIDEO
        The Constant DESCRIPTOR_TAG_VIDEO.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_AUDIO

        public static final int DESCRIPTOR_TAG_AUDIO
        The Constant DESCRIPTOR_TAG_AUDIO.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_HIERARCHY

        public static final int DESCRIPTOR_TAG_HIERARCHY
        The Constant DESCRIPTOR_TAG_HIERARCHY.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_REGISTRATION

        public static final int DESCRIPTOR_TAG_REGISTRATION
        The Constant DESCRIPTOR_TAG_REGISTRATION.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_DATA_STREAM_ALIGN

        public static final int DESCRIPTOR_TAG_DATA_STREAM_ALIGN
        The Constant DESCRIPTOR_TAG_DATA_STREAM_ALIGN.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_TGT_BACKGRD_GRID

        public static final int DESCRIPTOR_TAG_TGT_BACKGRD_GRID
        The Constant DESCRIPTOR_TAG_TGT_BACKGRD_GRID.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_VIDEO_WINDOWS

        public static final int DESCRIPTOR_TAG_VIDEO_WINDOWS
        The Constant DESCRIPTOR_TAG_VIDEO_WINDOWS.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_CA

        public static final int DESCRIPTOR_TAG_CA
        The Constant DESCRIPTOR_TAG_CA.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_ISO_639_LANG

        public static final int DESCRIPTOR_TAG_ISO_639_LANG
        The Constant DESCRIPTOR_TAG_ISO_639_LANG.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_SYSTEM_CLOCK

        public static final int DESCRIPTOR_TAG_SYSTEM_CLOCK
        The Constant DESCRIPTOR_TAG_SYSTEM_CLOCK.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_MULTIPLEX_BUF_UTIL

        public static final int DESCRIPTOR_TAG_MULTIPLEX_BUF_UTIL
        The Constant DESCRIPTOR_TAG_MULTIPLEX_BUF_UTIL.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_COPYRIGHT

        public static final int DESCRIPTOR_TAG_COPYRIGHT
        The Constant DESCRIPTOR_TAG_COPYRIGHT.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_MAX_BITRATE

        public static final int DESCRIPTOR_TAG_MAX_BITRATE
        The Constant DESCRIPTOR_TAG_MAX_BITRATE.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_PRIVATE_DATA

        public static final int DESCRIPTOR_TAG_PRIVATE_DATA
        The Constant DESCRIPTOR_TAG_PRIVATE_DATA.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_SMOOTHING_BUF

        public static final int DESCRIPTOR_TAG_SMOOTHING_BUF
        The Constant DESCRIPTOR_TAG_SMOOTHING_BUF.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_STD

        public static final int DESCRIPTOR_TAG_STD
        The Constant DESCRIPTOR_TAG_STD.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_IBP

        public static final int DESCRIPTOR_TAG_IBP
        The Constant DESCRIPTOR_TAG_IBP.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_MP4_VIDEO

        public static final int DESCRIPTOR_TAG_MP4_VIDEO
        The Constant DESCRIPTOR_TAG_MP4_VIDEO.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_MP4_AUDIO

        public static final int DESCRIPTOR_TAG_MP4_AUDIO
        The Constant DESCRIPTOR_TAG_MP4_AUDIO.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_IOD

        public static final int DESCRIPTOR_TAG_IOD
        The Constant DESCRIPTOR_TAG_IOD.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_SL

        public static final int DESCRIPTOR_TAG_SL
        The Constant DESCRIPTOR_TAG_SL.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_FMC

        public static final int DESCRIPTOR_TAG_FMC
        The Constant DESCRIPTOR_TAG_FMC.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_EXT_ES_ID

        public static final int DESCRIPTOR_TAG_EXT_ES_ID
        The Constant DESCRIPTOR_TAG_EXT_ES_ID.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_MUXCODE

        public static final int DESCRIPTOR_TAG_MUXCODE
        The Constant DESCRIPTOR_TAG_MUXCODE.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_FMX_BUFSIZE

        public static final int DESCRIPTOR_TAG_FMX_BUFSIZE
        The Constant DESCRIPTOR_TAG_FMX_BUFSIZE.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_MULTIPLE_BUF

        public static final int DESCRIPTOR_TAG_MULTIPLE_BUF
        The Constant DESCRIPTOR_TAG_MULTIPLE_BUF.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_FLEX_MUX_TIMING

        public static final int DESCRIPTOR_TAG_FLEX_MUX_TIMING
        The Constant DESCRIPTOR_TAG_FLEX_MUX_TIMING.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_METADATA_POINTER

        public static final int DESCRIPTOR_TAG_METADATA_POINTER
        The Constant DESCRIPTOR_TAG_METADATA_POINTER_DESCRIPTOR
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_METADATA

        public static final int DESCRIPTOR_TAG_METADATA
        The Constant DESCRIPTOR_TAG_METADATA.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_METADATA_STD

        public static final int DESCRIPTOR_TAG_METADATA_STD
        The Constant DESCRIPTOR_TAG_METADATA_STD.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_EXTENSION_MP4_LOAS

        public static final int DESCRIPTOR_TAG_EXTENSION_MP4_LOAS
        The Constant DESCRIPTOR_TAG_MP4_LOAS
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_STREAM_IDENTIFIER

        public static final int DESCRIPTOR_TAG_STREAM_IDENTIFIER
        The Constant DESCRIPTOR_TAG_STREAM_IDENTIFIER.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_DVBTELETEXT

        public static final int DESCRIPTOR_TAG_DVBTELETEXT
        The Constant DESCRIPTOR_TAG_DVBTELETEXT.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_AC3

        public static final int DESCRIPTOR_TAG_AC3
        The Constant DESCRIPTOR_TAG_AC3.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_ANCILLARY

        public static final int DESCRIPTOR_TAG_ANCILLARY
        The Constant DESCRIPTOR_TAG_ANCILLARY
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_ENHANCED_AC3

        public static final int DESCRIPTOR_TAG_ENHANCED_AC3
        The Constant DESCRIPTOR_TAG_ENHANCED_AC3.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_AAC_DVB

        public static final int DESCRIPTOR_TAG_AAC_DVB
        The Constant DESCRIPTOR_TAG_AAC_DVB
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_EXTENSION_DVB

        public static final int DESCRIPTOR_TAG_EXTENSION_DVB
        The Constant DESCRIPTOR_TAG_EXTENSION_DVB
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_CUE_IDENTIFIER

        public static final int DESCRIPTOR_TAG_CUE_IDENTIFIER
        The Constant DESCRIPTOR_TAG_CUE_IDENTIFIER.
        See Also:
        Constant Field Values
      • DESCRIPTOR_TAG_AAC_SCTE

        public static final int DESCRIPTOR_TAG_AAC_SCTE
        The Constant DESCRIPTOR_TAG_AAC_SCTE.
        See Also:
        Constant Field Values
      • tag

        public int tag
        The tag.
      • length

        public int length
        The length.
      • data

        public byte[] data
        The data.
    • Constructor Detail

      • Descriptor

        public Descriptor()
        Instantiates a new descriptor.
      • Descriptor

        public Descriptor​(java.nio.ByteBuffer descriptorData)
        Instantiates a new descriptor.
        Parameters:
        descriptorData - the descriptor data
    • Method Detail

      • decodeDescriptorData

        public void decodeDescriptorData​(java.nio.ByteBuffer descriptorData)
        Decode descriptor data.
        Parameters:
        descriptorData - the descriptor data
      • toBin

        public void toBin​(java.nio.ByteBuffer buffer)
        Encodes the descriptor into binary format for use in a transport
        Parameters:
        buffer - a ByteBuffer to put the descriptor binary data into
      • binarySize

        public int binarySize()
        How big is the descriptor in binary.
        Returns:
        the total size of the descriptor in binary form, includes tag and length fields
      • decodeDescriptor

        public static Descriptor decodeDescriptor​(java.nio.ByteBuffer descriptorData)
        Decode descriptor.
        Parameters:
        descriptorData - the descriptor data
        Returns:
        the descriptor
      • getShortClassName

        public String getShortClassName()
        getShortClassName returns just the class name instead of the com.wms.xxx.xx.className
      • getDescriptorName

        public static String getDescriptorName​(int tag)
      • getDataAsBase64

        public String getDataAsBase64()
      • toDebugString

        public String toDebugString()
      • toString

        public String toString()
        Overrides:
        toString in class Object