Class DvrManifestEntryRangeGroup

Object
com.wowza.wms.dvr.DvrManifestEntryRangeGroup

public class DvrManifestEntryRangeGroup extends Object
A group of Manifest Ranges. The group may contain ranges of different types.
  • Field Details

  • Constructor Details

    • DvrManifestEntryRangeGroup

      public DvrManifestEntryRangeGroup()
  • Method Details

    • addRange

      public void addRange(DvrManifestEntryRange range)
      Add an index range to the group.
      Parameters:
      range -
    • isInRange

      public boolean isInRange(int type, int index)
      Determine if index of given type is contained in the group of ranges.
      Parameters:
      type - range type
      index - index in question
      Returns:
      true iof in range.
    • isEmpty

      public boolean isEmpty()
      Determine if group of ranges is empty
      Returns:
      true if empty
    • serialize

      public byte[] serialize()
      Serialize range group
      Returns:
      bytes representing range group
    • deserialize

      public void deserialize(byte[] data)
      Deserialize. Called after no-op constructor.
      Parameters:
      data - buffer to deserialize.
    • toString

      public String toString()
      Overrides:
      toString in class Object