public class VideoStreamChunk extends StreamChunk
Modifier and Type | Field and Description |
---|---|
private byte[] |
codecId
Stores the codecs id.
|
private long |
pictureHeight
This field stores the height of the video stream.
|
private long |
pictureWidth
This field stores the width of the video stream.
|
chunkLength, guid, position
Constructor and Description |
---|
VideoStreamChunk(java.math.BigInteger chunkLen)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCodecId() |
java.lang.String |
getCodecIdAsString()
Returns the
getCodecId() , as a String, where each byte has been
converted to a char . |
long |
getPictureHeight() |
long |
getPictureWidth() |
java.lang.String |
prettyPrint(java.lang.String prefix)
(overridden)
|
void |
setCodecId(byte[] codecIdentifier) |
void |
setPictureHeight(long picHeight) |
void |
setPictureWidth(long picWidth) |
getStreamNumber, getStreamSpecificDataSize, getStreamType, getTimeOffset, getTypeSpecificDataSize, isContentEncrypted, setContentEncrypted, setStreamNumber, setStreamSpecificDataSize, setTimeOffset, setTypeSpecificDataSize
getChunckEnd, getChunkEnd, getChunkLength, getGuid, getPosition, setPosition, toString
private byte[] codecId
private long pictureHeight
private long pictureWidth
public VideoStreamChunk(java.math.BigInteger chunkLen)
chunkLen
- Length of the entire chunk (including guid and size)public byte[] getCodecId()
public java.lang.String getCodecIdAsString()
getCodecId()
, as a String, where each byte has been
converted to a char
.public long getPictureHeight()
public long getPictureWidth()
public java.lang.String prettyPrint(java.lang.String prefix)
prettyPrint
in class StreamChunk
prefix
- each line gets this string prepended.StreamChunk.prettyPrint(String)
public void setCodecId(byte[] codecIdentifier)
codecIdentifier
- The codecId to set.public void setPictureHeight(long picHeight)
picHeight
- public void setPictureWidth(long picWidth)
picWidth
- Copyright © 2005-2013 java.net. All Rights Reserved.