Package com.wowza.wms.dvr
Class DvrManifestCodecEntry
- Object
-
- com.wowza.wms.dvr.DvrManifestEntry
-
- com.wowza.wms.dvr.DvrManifestCodecEntry
-
public class DvrManifestCodecEntry extends DvrManifestEntry
Entry in DVR manifest that contains codec 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 DvrManifestCodecEntry(long index, long dvrStart, long packetTime, long utcTime, com.wowza.wms.media.model.MediaCodecInfoAudio audioCodec, com.wowza.wms.media.model.MediaCodecInfoVideo videoCodec)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.wowza.wms.media.model.MediaCodecInfoAudio
getAudioCodec()
Get audio codec informationString
getManifestRepresentation()
Get textual representation of record for textual manifest usage.com.wowza.wms.media.model.MediaCodecInfoVideo
getVideoCodec()
Get video codec informationvoid
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
-
DvrManifestCodecEntry
public DvrManifestCodecEntry(long index, long dvrStart, long packetTime, long utcTime, com.wowza.wms.media.model.MediaCodecInfoAudio audioCodec, com.wowza.wms.media.model.MediaCodecInfoVideo videoCodec)
Constructor- Parameters:
index
- manifest indexdvrStart
- start time (ms in DVR time scale)audioCodec
- audio codec infovideoCodec
- video codec info
-
-
Method Detail
-
getVideoCodec
public com.wowza.wms.media.model.MediaCodecInfoVideo getVideoCodec()
Get video codec information- Returns:
- video codec information
-
getAudioCodec
public com.wowza.wms.media.model.MediaCodecInfoAudio getAudioCodec()
Get audio codec information- Returns:
- audio codec 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
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-