public class VideoStreamChunk extends StreamChunk
chunkLength, guid, position
Constructor and Description |
---|
VideoStreamChunk(BigInteger chunkLen)
Creates an instance.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getCodecId() |
String |
getCodecIdAsString()
Returns the
getCodecId() , as a String, where each byte has been
converted to a char . |
long |
getPictureHeight() |
long |
getPictureWidth() |
String |
prettyPrint(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
public VideoStreamChunk(BigInteger chunkLen)
chunkLen
- Length of the entire chunk (including guid and size)public byte[] getCodecId()
public String getCodecIdAsString()
getCodecId()
, as a String, where each byte has been
converted to a char
.public long getPictureHeight()
public long getPictureWidth()
public String prettyPrint(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–2020 jthink.net. All rights reserved.