Package com.wowza.wms.dvr
Class DvrManifestChunkEntry
Object
com.wowza.wms.dvr.DvrManifestEntry
com.wowza.wms.dvr.DvrManifestChunkEntry
Entry in DVR manifest that contains an associated chunk.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.wowza.wms.dvr.DvrChunkArtifact
protected com.wowza.wms.dvr.DvrEncryptionInfoHolder
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
ConstructorsConstructorDescriptionDvrManifestChunkEntry
(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
Modifier and TypeMethodDescriptionprotected String
com.wowza.wms.dvr.DvrChunkArtifact
Get DVR artifact reference.com.wowza.wms.dvr.DvrEncryptionInfoHolder
Get associated encryptions.protected String
Get textual representation of record for textual manifest usage.void
Serialize manifest record.void
setEncryptions
(com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions) Set associated encryptions.toString()
Methods inherited from class com.wowza.wms.dvr.DvrManifestEntry
encodeBytes, getCommonInitialTextRepString, getDuration, getIndex, getPacketStartTime, getStartTimecode, getStopTimecode, getType, getUtcStartTime, getUTCStartTime, serialize
-
Field Details
-
artifact
protected com.wowza.wms.dvr.DvrChunkArtifact artifact -
encryptions
protected com.wowza.wms.dvr.DvrEncryptionInfoHolder encryptions
-
-
Constructor Details
-
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 Details
-
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
Description copied from class:DvrManifestEntry
Serialize manifest record.- Specified by:
serialize
in classDvrManifestEntry
- Parameters:
out
- output stream
-
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
-
getArtifactsTextRepresentation
-
toString
-