Package org.jitsi.impl.neomedia.codec
Class REDBlock
- java.lang.Object
-
- org.jitsi.service.neomedia.ByteArrayBufferImpl
-
- org.jitsi.impl.neomedia.codec.REDBlock
-
- All Implemented Interfaces:
org.jitsi.utils.ByteArrayBuffer
public class REDBlock extends ByteArrayBufferImpl
Represents a RED block.- Author:
- George Politis
-
-
Field Summary
-
Fields inherited from class org.jitsi.service.neomedia.ByteArrayBufferImpl
buffer
-
-
Constructor Summary
Constructors Constructor Description REDBlock(byte[] buf, int off, int len, byte pt)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description bytegetPayloadType()Gets the payload type of this RED block.booleanisInvalid()-
Methods inherited from class org.jitsi.service.neomedia.ByteArrayBufferImpl
append, getBuffer, getLength, getOffset, grow, readRegionToBuff, setLength, setOffset, setOffsetLength, shrink
-
-
-
-
Method Detail
-
isInvalid
public boolean isInvalid()
- Specified by:
isInvalidin interfaceorg.jitsi.utils.ByteArrayBuffer- Overrides:
isInvalidin classByteArrayBufferImpl
-
getPayloadType
public byte getPayloadType()
Gets the payload type of this RED block.- Returns:
- the payload type of this RED block
-
-