Package com.wowza.wms.dvr
Interface IDvrChunkIDHandler3
- 
 public interface IDvrChunkIDHandler3
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetLastAssignedChunkId()voidinit(IDvrManifest dvrManifest)Initialize the chunk ID handlerlongonAssignChunkId(String streamName, AMFPacket dataPacket)longonAssignChunkId(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.voidsetAudioManifest(com.wowza.wms.dvr.DvrChannelManifest audioManifest)Set the audio manifest for this handlervoidsetCodecManifest(com.wowza.wms.dvr.DvrChannelManifest codecManifest)Set the codec manifest for this handlervoidsetDataManifest(com.wowza.wms.dvr.DvrChannelManifest dataManifest)Set the data manifest for this handlervoidsetDVRStore(IDvrStreamStore dvrStore)voidsetLastSkippedChunkId(long chunkId)voidsetMetadataManifest(com.wowza.wms.dvr.DvrChannelManifest onMetaManifest)Set the meta data manifest for this handlervoidsetVideoManifest(com.wowza.wms.dvr.DvrChannelManifest videoManifest)Set the video manifest for this handler
 
- 
- 
- 
Method Detail- 
initvoid init(IDvrManifest dvrManifest) Initialize the chunk ID handler- Parameters:
- dvrManifest-
 
 - 
setVideoManifestvoid setVideoManifest(com.wowza.wms.dvr.DvrChannelManifest videoManifest) Set the video manifest for this handler- Parameters:
- videoManifest-
 
 - 
setAudioManifestvoid setAudioManifest(com.wowza.wms.dvr.DvrChannelManifest audioManifest) Set the audio manifest for this handler- Parameters:
- audioManifest-
 
 - 
setDataManifestvoid setDataManifest(com.wowza.wms.dvr.DvrChannelManifest dataManifest) Set the data manifest for this handler- Parameters:
- dataManifest-
 
 - 
setMetadataManifestvoid setMetadataManifest(com.wowza.wms.dvr.DvrChannelManifest onMetaManifest) Set the meta data manifest for this handler- Parameters:
- onMetaManifest-
 
 - 
setCodecManifestvoid setCodecManifest(com.wowza.wms.dvr.DvrChannelManifest codecManifest) Set the codec manifest for this handler- Parameters:
- codecManifest-
 
 - 
onAssignChunkIdlong 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:
 
 - 
setDVRStorevoid setDVRStore(IDvrStreamStore dvrStore) 
 - 
onAssignChunkIdlong onAssignChunkId(String streamName, AMFPacket dataPacket)
 - 
getLastAssignedChunkIdlong getLastAssignedChunkId() 
 - 
setLastSkippedChunkIdvoid setLastSkippedChunkId(long chunkId) 
 
- 
 
-