Package com.wowza.wms.dvr
Interface IDvrPacketConverter
-
public interface IDvrPacketConverter
Interface for creating DVR chunks from a set of packets.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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.com.wowza.wms.dvr.DvrChunk
createDvrOnMetadataChunk(long dvrTime, long pt, AMFPacket metaPacket)
Create onMetadata chunk from set of packets.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.
-
-
-
Method Detail
-
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
com.wowza.wms.dvr.DvrChunk createDvrOnMetadataChunk(long dvrTime, long pt, AMFPacket metaPacket)
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.
-
-