Class DvrManifestChunkEntry


  • public class DvrManifestChunkEntry
    extends DvrManifestEntry
    Entry in DVR manifest that contains an associated chunk.
    • Field Detail

      • artifact

        protected com.wowza.wms.dvr.DvrChunkArtifact artifact
      • encryptions

        protected com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions
    • Constructor Detail

      • DvrManifestChunkEntry

        public DvrManifestChunkEntry​(int type,
                                     long index,
                                     long dvrStart,
                                     long dvrStop,
                                     long packetTime,
                                     long utcTime,
                                     com.wowza.wms.dvr.DvrChunkArtifact artifact)
        Constructor
        Parameters:
        type - type
        index - manifest index
        dvrStart - start time (ms in DVR time scale)
        dvrStop - stop time (ms in DVR time scale)
        utcTime -
        packetTime -
        artifact - reference to the chunk artifact
      • DvrManifestChunkEntry

        public DvrManifestChunkEntry​(int type,
                                     long index,
                                     long dvrStart,
                                     long dvrStop,
                                     long packetTime,
                                     long utcTime,
                                     com.wowza.wms.dvr.DvrChunkArtifact artifact,
                                     com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions)
        Constructor
        Parameters:
        type - type
        index - manifest index
        dvrStart - start time (ms in DVR time scale)
        dvrStop - stop time (ms in DVR time scale)
        utcTime -
        packetTime -
        artifact - reference to the chunk artifact
        encryptions - associated encryptions
    • Method Detail

      • getDvrArtifact

        public com.wowza.wms.dvr.DvrChunkArtifact getDvrArtifact()
        Get DVR artifact reference.
        Returns:
        DVR artifact reference.
      • setEncryptions

        public void setEncryptions​(com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions)
        Set associated encryptions.
        Parameters:
        encryptions - encryptions
      • getEncryptions

        public com.wowza.wms.dvr.DvrEncryptionInfoHolder getEncryptions()
        Get associated encryptions.
        Returns:
        encryptions
      • serialize

        public void serialize​(java.io.DataOutputStream out)
        Description copied from class: DvrManifestEntry
        Serialize manifest record.
        Specified by:
        serialize in class DvrManifestEntry
        Parameters:
        out - output stream
      • getManifestRepresentation

        public String getManifestRepresentation()
        Description copied from class: DvrManifestEntry
        Get textual representation of record for textual manifest usage.
        Specified by:
        getManifestRepresentation in class DvrManifestEntry
        Returns:
        textual representation of entry
      • getEncryptionsTextRepresentation

        protected String getEncryptionsTextRepresentation()
      • getArtifactsTextRepresentation

        protected String getArtifactsTextRepresentation()
      • toString

        public String toString()
        Overrides:
        toString in class Object