Package com.wowza.wms.dvr
Interface IDvrChunkIDHandler3
public interface IDvrChunkIDHandler3
-
Method Summary
Modifier and TypeMethodDescriptionlongvoidinit(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 Details
-
init
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
-
onAssignChunkId
-
getLastAssignedChunkId
long getLastAssignedChunkId() -
setLastSkippedChunkId
void setLastSkippedChunkId(long chunkId)
-