Package com.wowza.wms.dvr
Interface IDvrChunkIDHandler
-
- All Known Subinterfaces:
IDvrChunkIDHandler2
public interface IDvrChunkIDHandler
This interface should no longer be used directly. Please use IDvrChunkIDHandler2
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
init(IDvrManifest dvrManifest)
Initialize the chunk ID handlerint
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
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
int 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:
-
-