Package com.wowza.wms.dvr
Class DvrManifestOnMetadataEntry
- Object
-
- com.wowza.wms.dvr.DvrManifestEntry
-
- com.wowza.wms.dvr.DvrManifestOnMetadataEntry
-
public class DvrManifestOnMetadataEntry extends DvrManifestEntry
Entry in DVR manifest that contains onMetadata information and associated onMetadata chunk.
-
-
Field Summary
Fields Modifier and Type Field Description protected com.wowza.wms.dvr.DvrChunkArtifact
artifact
protected byte[]
data
-
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 DvrManifestOnMetadataEntry(long index, long start, long packetTime, long utcTime, com.wowza.wms.dvr.DvrChunkArtifact artifact, byte[] data)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getArtifactsTextRepresentation()
byte[]
getData()
Get onMetadata information.com.wowza.wms.dvr.DvrChunkArtifact
getDvrArtifact()
String
getManifestRepresentation()
Get textual representation of record for textual manifest usage.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
-
DvrManifestOnMetadataEntry
public DvrManifestOnMetadataEntry(long index, long start, long packetTime, long utcTime, com.wowza.wms.dvr.DvrChunkArtifact artifact, byte[] data)
Constructor- Parameters:
index
- manifest indexstart
- start time (ms in DVR time scale)utcTime
-packetTime
-artifact
- reference to the chunk artifactdata
- buffer of onMetadata information
-
-
Method Detail
-
getDvrArtifact
public com.wowza.wms.dvr.DvrChunkArtifact getDvrArtifact()
-
getData
public byte[] getData()
Get onMetadata information.- Returns:
- onMetadata information.
-
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
-
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
-
getArtifactsTextRepresentation
protected String getArtifactsTextRepresentation()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-