public class DePacketizer extends AbstractCodec2
| Modifier and Type | Class and Description |
|---|---|
static class |
DePacketizer.VP8KeyframeHeader
A class that represents a keyframe header structure (see RFC 6386,
paragraph 9.1).
|
static class |
DePacketizer.VP8PayloadDescriptor
A class that represents the VP8 Payload Descriptor structure defined in
draft-ietf-payload-vp8-10
|
static class |
DePacketizer.VP8PayloadHeader
A class that represents the VP8 Payload Header structure defined in draft-ietf-payload-vp8-10
|
BUFFER_FLAG_FEC, BUFFER_FLAG_PLC, EMPTY_FORMATS, features, MAX_AUDIO_SEQUENCE_NUMBERS_TO_PLC, SEQUENCE_MAX, SEQUENCE_MIN| Constructor and Description |
|---|
DePacketizer()
Initializes a new JNIEncoder instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doClose() |
protected void |
doOpen()
Opens this Codec and acquires the resources that it needs to
operate.
|
protected int |
doProcess(javax.media.Buffer inBuffer,
javax.media.Buffer outBuffer) |
static boolean |
isKeyFrame(byte[] buf,
int off,
int len)
Returns true if the buffer contains a VP8 key frame at offset
offset.
|
calculateLostSeqNoCount, close, discardOutputBuffer, getMatchingOutputFormats, getName, getSupportedOutputFormats, incrementSeqNo, matches, open, process, setInputFormat, setOutputFormat, specialize, updateOutput, validateByteArraySize, validateShortArraySizecheckInputBuffer, dump, getInputFormat, getOutputFormat, getSupportedInputFormats, isEOM, propagateEOMaddControl, getControl, getControls, removeControlprotected void doClose()
doClose in class AbstractCodec2protected void doOpen()
throws javax.media.ResourceUnavailableException
PlugIn.open() on this instance will result in
a call to doOpen only if AbstractCodec.opened is
false. All required input and/or output formats are assumed to
have been set on this Codec before doOpen is called.doOpen in class AbstractCodec2javax.media.ResourceUnavailableException - if any of the resources that this
Codec needs to operate cannot be acquiredprotected int doProcess(javax.media.Buffer inBuffer,
javax.media.Buffer outBuffer)
doProcess in class AbstractCodec2public static boolean isKeyFrame(byte[] buf,
int off,
int len)
buf - the byte buffer to checkoff - the offset in the byte buffer where the actual data startslen - the length of the data in the byte bufferCopyright © 2021 jitsi.org. All rights reserved.