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.DvrChunkArtifactprotected com.wowza.wms.dvr.DvrEncryptionInfoHolderFields 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 Stringcom.wowza.wms.dvr.DvrChunkArtifactGet DVR artifact reference.com.wowza.wms.dvr.DvrEncryptionInfoHolderGet associated encryptions.protected StringGet textual representation of record for textual manifest usage.voidSerialize manifest record.voidsetEncryptions(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:DvrManifestEntrySerialize manifest record.- Specified by:
serializein classDvrManifestEntry- Parameters:
out- output stream
-
getManifestRepresentation
Description copied from class:DvrManifestEntryGet textual representation of record for textual manifest usage.- Specified by:
getManifestRepresentationin classDvrManifestEntry- Returns:
- textual representation of entry
-
getEncryptionsTextRepresentation
-
getArtifactsTextRepresentation
-
toString
-