Class ESDescriptorBox

All Implemented Interfaces:
Box, FullBox, ParsableBox

public class ESDescriptorBox extends AbstractDescriptorBox

4cc = ""esds""

ES Descriptor Box.
  • Field Details

  • Constructor Details

    • ESDescriptorBox

      public ESDescriptorBox()
  • Method Details

    • getEsDescriptor

      public ESDescriptor getEsDescriptor()
    • setEsDescriptor

      public void setEsDescriptor(ESDescriptor esDescriptor)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getContentSize

      protected long getContentSize()
      Description copied from class: AbstractBox
      Get the box's content size without its header. This must be the exact number of bytes that getContent(ByteBuffer) writes.
      Overrides:
      getContentSize in class AbstractDescriptorBox
      Returns:
      Gets the box's content size in bytes
      See Also:
    • getContent

      protected void getContent(ByteBuffer byteBuffer)
      Description copied from class: AbstractBox
      Write the box's content into the given ByteBuffer. This must include flags and version in case of a full box. byteBuffer has been initialized with getSize() bytes.
      Overrides:
      getContent in class AbstractDescriptorBox
      Parameters:
      byteBuffer - the sink for the box's content