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 milliseconds
        index - index of DVR chunk
        duration - Duration in milliseconds
        holder - 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 milliseconds
        index - index of DVR chunk
        duration - Duration in milliseconds
        holder - 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 milliseconds
        index - index of DVR chunk
        duration - Duration in milliseconds
        holder - 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 milliseconds
        pt - Packet time
        metaPacket - metadata packet
        Returns:
        the created chunk or null if chunk not created.