public class RTPVideoDataStream extends RTPDataStream implements PushBufferStream
bitsPerSecond, bytesProcessed, clockRate, controls, format, handler, itsRTPBuffer, jitter, lastTimestamp, packetSize, receptionStats, rtpbufferlen, rtpbufferlenMS, ssrc, threshold
LENGTH_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, setTransferHandler
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFormat, setTransferHandler
endOfStream, getContentDescriptor, getContentLength
getControl, getControls
public 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 RTPDataStream
header
- 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 PushBufferStream
read
in class RTPDataStream
buffer
- the buffer to fill