Package com.wowza.wms.dvr
Class DvrManifestChunkEntry
- Object
-
- com.wowza.wms.dvr.DvrManifestEntry
-
- com.wowza.wms.dvr.DvrManifestChunkEntry
-
public class DvrManifestChunkEntry extends DvrManifestEntry
Entry in DVR manifest that contains an associated chunk.
-
-
Field Summary
Fields Modifier and Type Field Description protected com.wowza.wms.dvr.DvrChunkArtifact
artifact
protected com.wowza.wms.dvr.DvrEncryptionInfoHolder
encryptions
-
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 DvrManifestChunkEntry(int type, long index, long dvrStart, long dvrStop, long packetTime, long utcTime, com.wowza.wms.dvr.DvrChunkArtifact artifact)
ConstructorDvrManifestChunkEntry(int type, long index, long dvrStart, long dvrStop, long packetTime, long utcTime, com.wowza.wms.dvr.DvrChunkArtifact artifact, com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getArtifactsTextRepresentation()
com.wowza.wms.dvr.DvrChunkArtifact
getDvrArtifact()
Get DVR artifact reference.com.wowza.wms.dvr.DvrEncryptionInfoHolder
getEncryptions()
Get associated encryptions.protected String
getEncryptionsTextRepresentation()
String
getManifestRepresentation()
Get textual representation of record for textual manifest usage.void
serialize(java.io.DataOutputStream out)
Serialize manifest record.void
setEncryptions(com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions)
Set associated encryptions.String
toString()
-
Methods inherited from class com.wowza.wms.dvr.DvrManifestEntry
encodeBytes, getCommonInitialTextRepString, getDuration, getIndex, getPacketStartTime, getStartTimecode, getStopTimecode, getType, getUtcStartTime, getUTCStartTime, serialize
-
-
-
-
Constructor Detail
-
DvrManifestChunkEntry
public DvrManifestChunkEntry(int type, long index, long dvrStart, long dvrStop, long packetTime, long utcTime, com.wowza.wms.dvr.DvrChunkArtifact artifact)
Constructor- Parameters:
type
- typeindex
- manifest indexdvrStart
- start time (ms in DVR time scale)dvrStop
- stop time (ms in DVR time scale)utcTime
-packetTime
-artifact
- reference to the chunk artifact
-
DvrManifestChunkEntry
public DvrManifestChunkEntry(int type, long index, long dvrStart, long dvrStop, long packetTime, long utcTime, com.wowza.wms.dvr.DvrChunkArtifact artifact, com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions)
Constructor- Parameters:
type
- typeindex
- manifest indexdvrStart
- start time (ms in DVR time scale)dvrStop
- stop time (ms in DVR time scale)utcTime
-packetTime
-artifact
- reference to the chunk artifactencryptions
- associated encryptions
-
-
Method Detail
-
getDvrArtifact
public com.wowza.wms.dvr.DvrChunkArtifact getDvrArtifact()
Get DVR artifact reference.- Returns:
- DVR artifact reference.
-
setEncryptions
public void setEncryptions(com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions)
Set associated encryptions.- Parameters:
encryptions
- encryptions
-
getEncryptions
public com.wowza.wms.dvr.DvrEncryptionInfoHolder getEncryptions()
Get associated encryptions.- Returns:
- encryptions
-
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
-
getEncryptionsTextRepresentation
protected String getEncryptionsTextRepresentation()
-
getArtifactsTextRepresentation
protected String getArtifactsTextRepresentation()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-