Package com.wowza.wms.dvr
Interface IDvrChunkIDHandler3
-
public interface IDvrChunkIDHandler3
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getLastAssignedChunkId()
void
init(IDvrManifest dvrManifest)
Initialize the chunk ID handlerlong
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 handlervoid
setCodecManifest(com.wowza.wms.dvr.DvrChannelManifest codecManifest)
Set the codec manifest for this handlervoid
setDataManifest(com.wowza.wms.dvr.DvrChannelManifest dataManifest)
Set the data manifest for this handlervoid
setDVRStore(IDvrStreamStore dvrStore)
void
setLastSkippedChunkId(long chunkId)
void
setMetadataManifest(com.wowza.wms.dvr.DvrChannelManifest onMetaManifest)
Set the meta data manifest for this handlervoid
setVideoManifest(com.wowza.wms.dvr.DvrChannelManifest videoManifest)
Set the video manifest for this handler
-
-
-
Method Detail
-
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)
-
-