Package com.wowza.wms.dvr
Interface IDvrPacketConverter
public interface IDvrPacketConverter
Interface for creating DVR chunks from a set of packets.
-
Method Summary
Modifier and TypeMethodDescriptioncom.wowza.wms.dvr.DvrChunkcreateDvrAudioChunk(long dvrTime, long index, int duration, com.wowza.wms.dvr.DvrPacketHolder holder) Create audio chunk from set of packets.com.wowza.wms.dvr.DvrChunkcreateDvrDataChunk(long dvrTime, long index, int duration, com.wowza.wms.dvr.DvrPacketHolder holder) Create data chunk from set of packets.com.wowza.wms.dvr.DvrChunkcreateDvrOnMetadataChunk(long dvrTime, long pt, AMFPacket metaPacket) Create onMetadata chunk from set of packets.com.wowza.wms.dvr.DvrChunkcreateDvrVideoChunk(long dvrTime, long index, int duration, com.wowza.wms.dvr.DvrPacketHolder holder) Create video chunk from set of packets.
-
Method Details
-
createDvrAudioChunk
com.wowza.wms.dvr.DvrChunk createDvrAudioChunk(long dvrTime, long index, int duration, com.wowza.wms.dvr.DvrPacketHolder holder) Create audio chunk from set of packets.- Parameters:
dvrTime- DVR start time in millisecondsindex- index of DVR chunkduration- Duration in millisecondsholder- packet holder- Returns:
- the created chunk or null if chunk not created.
-
createDvrVideoChunk
com.wowza.wms.dvr.DvrChunk createDvrVideoChunk(long dvrTime, long index, int duration, com.wowza.wms.dvr.DvrPacketHolder holder) Create video chunk from set of packets.- Parameters:
dvrTime- DVR start time in millisecondsindex- index of DVR chunkduration- Duration in millisecondsholder- packet holder- Returns:
- the created chunk or null if chunk not created.
-
createDvrDataChunk
com.wowza.wms.dvr.DvrChunk createDvrDataChunk(long dvrTime, long index, int duration, com.wowza.wms.dvr.DvrPacketHolder holder) Create data chunk from set of packets.- Parameters:
dvrTime- DVR start time in millisecondsindex- index of DVR chunkduration- Duration in millisecondsholder- packet holder- Returns:
- the created chunk or null if chunk not created.
-
createDvrOnMetadataChunk
Create onMetadata chunk from set of packets.- Parameters:
dvrTime- DVR start time in millisecondspt- Packet timemetaPacket- metadata packet- Returns:
- the created chunk or null if chunk not created.
-