public class RTPVideoDataStream extends RTPDataStream implements PushBufferStream
bitsPerSecond, bytesProcessed, clockRate, controls, format, handler, itsRTPBuffer, jitter, lastTimestamp, packetSize, receptionStats, rtpbufferlen, rtpbufferlenMS, ssrc, thresholdLENGTH_UNKNOWN| Constructor and Description |
|---|
RTPVideoDataStream(long ssrc,
Format format)
Creates a new RTPDataStream
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addPacket(RTPHeader header,
byte[] data,
int offset,
int length)
Adds a packet to the buffers
|
void |
read(Buffer buffer)
Fill the provided buffer with the available data.
|
addFormat, calculateJitter, endOfStream, getContentDescriptor, getContentLength, getControl, getControlComponent, getControls, getFormat, getFormat, getFormatList, getGlobalStats, getJitter, getJitterBufferItemCount, getJitterBufferSize, getReceptionStats, setTransferHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetFormat, setTransferHandlerendOfStream, getContentDescriptor, getContentLengthgetControl, getControlspublic RTPVideoDataStream(long ssrc,
Format format)
ssrc - the ssrc of this RTP streamformat - The format of the dataprotected void addPacket(RTPHeader header, byte[] data, int offset, int length)
addPacket in class RTPDataStreamheader - The header of the packetdata - The data of the packetoffset - The offset of the packetlength - The length of the packetpublic void read(Buffer buffer)
read in interface PushBufferStreamread in class RTPDataStreambuffer - the buffer to fill