Package com.wowza.wms.dvr
Class DvrManifestTimeMapEntry
- Object
-
- com.wowza.wms.dvr.DvrManifestEntry
-
- com.wowza.wms.dvr.DvrManifestTimeMapEntry
-
public class DvrManifestTimeMapEntry extends DvrManifestEntry
Entry in DVR manifest that contains time map information.
-
-
Field Summary
-
Fields inherited from class com.wowza.wms.dvr.DvrManifestEntry
dvrStart, dvrStop, index, MANIFESTFILE_KEY_ARTIFACT, MANIFESTFILE_KEY_AUDIO_CODEC, MANIFESTFILE_KEY_CHUNKINDEX, MANIFESTFILE_KEY_DVRTIME, MANIFESTFILE_KEY_ENCRYPTIONS, MANIFESTFILE_KEY_INDEX, MANIFESTFILE_KEY_METADATA, MANIFESTFILE_KEY_NAME, MANIFESTFILE_KEY_PACKETTIME, MANIFESTFILE_KEY_SIZE, MANIFESTFILE_KEY_START, MANIFESTFILE_KEY_STOP, MANIFESTFILE_KEY_TYPE, MANIFESTFILE_KEY_UTCTIME, MANIFESTFILE_KEY_VIDEO_CODEC, packetTime, SERIALIZE_CURRENT_VERSION, type, utcTime
-
-
Constructor Summary
Constructors Constructor Description DvrManifestTimeMapEntry(long index, long chunkIndex, long start, long packetTime, long utcTime, com.wowza.wms.dvr.TimeMapRecord timeMap)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getChunkIndex()
Get chunk index that correlates to this time mappingString
getManifestRepresentation()
Get textual representation of record for textual manifest usage.com.wowza.wms.dvr.TimeMapRecord
getTimeMapping()
Get time map record.void
serialize(java.io.DataOutputStream out)
Serialize manifest record.String
toString()
-
Methods inherited from class com.wowza.wms.dvr.DvrManifestEntry
encodeBytes, getCommonInitialTextRepString, getDuration, getIndex, getPacketStartTime, getStartTimecode, getStopTimecode, getType, getUtcStartTime, getUTCStartTime, serialize
-
-
-
-
Constructor Detail
-
DvrManifestTimeMapEntry
public DvrManifestTimeMapEntry(long index, long chunkIndex, long start, long packetTime, long utcTime, com.wowza.wms.dvr.TimeMapRecord timeMap)
Constructor- Parameters:
index
- manifest indexstart
- start time (ms in DVR time scale)timeMap
- time map record
-
-
Method Detail
-
getTimeMapping
public com.wowza.wms.dvr.TimeMapRecord getTimeMapping()
Get time map record.- Returns:
- time map record
-
getChunkIndex
public long getChunkIndex()
Get chunk index that correlates to this time mapping- Returns:
- chunk index
-
getManifestRepresentation
public String getManifestRepresentation()
Description copied from class:DvrManifestEntry
Get textual representation of record for textual manifest usage.- Specified by:
getManifestRepresentation
in classDvrManifestEntry
- Returns:
- textual representation of entry
-
serialize
public void serialize(java.io.DataOutputStream out)
Description copied from class:DvrManifestEntry
Serialize manifest record.- Specified by:
serialize
in classDvrManifestEntry
- Parameters:
out
- output stream
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-