Interface IDvrChunkIDHandler3


public interface IDvrChunkIDHandler3
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    void
    init(IDvrManifest dvrManifest)
    Initialize the chunk ID handler
    long
    onAssignChunkId(String streamName, AMFPacket dataPacket)
     
    long
    onAssignChunkId(String streamName, com.wowza.wms.dvr.DvrPacketHolder vPackets, com.wowza.wms.dvr.DvrPacketHolder aPackets)
    This returns the chunkID to use for the nDVR chunk to be stored.
    void
    setAudioManifest(com.wowza.wms.dvr.DvrChannelManifest audioManifest)
    Set the audio manifest for this handler
    void
    setCodecManifest(com.wowza.wms.dvr.DvrChannelManifest codecManifest)
    Set the codec manifest for this handler
    void
    setDataManifest(com.wowza.wms.dvr.DvrChannelManifest dataManifest)
    Set the data manifest for this handler
    void
     
    void
    setLastSkippedChunkId(long chunkId)
     
    void
    setMetadataManifest(com.wowza.wms.dvr.DvrChannelManifest onMetaManifest)
    Set the meta data manifest for this handler
    void
    setVideoManifest(com.wowza.wms.dvr.DvrChannelManifest videoManifest)
    Set the video manifest for this handler
  • Method Details

    • init

      void init(IDvrManifest dvrManifest)
      Initialize the chunk ID handler
      Parameters:
      dvrManifest -
    • setVideoManifest

      void setVideoManifest(com.wowza.wms.dvr.DvrChannelManifest videoManifest)
      Set the video manifest for this handler
      Parameters:
      videoManifest -
    • setAudioManifest

      void setAudioManifest(com.wowza.wms.dvr.DvrChannelManifest audioManifest)
      Set the audio manifest for this handler
      Parameters:
      audioManifest -
    • setDataManifest

      void setDataManifest(com.wowza.wms.dvr.DvrChannelManifest dataManifest)
      Set the data manifest for this handler
      Parameters:
      dataManifest -
    • setMetadataManifest

      void setMetadataManifest(com.wowza.wms.dvr.DvrChannelManifest onMetaManifest)
      Set the meta data manifest for this handler
      Parameters:
      onMetaManifest -
    • setCodecManifest

      void setCodecManifest(com.wowza.wms.dvr.DvrChannelManifest codecManifest)
      Set the codec manifest for this handler
      Parameters:
      codecManifest -
    • onAssignChunkId

      long onAssignChunkId(String streamName, com.wowza.wms.dvr.DvrPacketHolder vPackets, com.wowza.wms.dvr.DvrPacketHolder aPackets)
      This returns the chunkID to use for the nDVR chunk to be stored. It MUST return a consist number based on the state of the manifests/packets provided, i.e. return the same answer if no changes are made between calls.
      Parameters:
      streamName -
      vPackets -
      aPackets -
      Returns:
    • setDVRStore

      void setDVRStore(IDvrStreamStore dvrStore)
    • onAssignChunkId

      long onAssignChunkId(String streamName, AMFPacket dataPacket)
    • getLastAssignedChunkId

      long getLastAssignedChunkId()
    • setLastSkippedChunkId

      void setLastSkippedChunkId(long chunkId)