|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.fmj.media.rtp.RTPDataStream
net.sf.fmj.media.rtp.RTPAudioDataStream
public class RTPAudioDataStream
Represents a stream sent via RTP
| Field Summary |
|---|
| Fields inherited from class net.sf.fmj.media.rtp.RTPDataStream |
|---|
bitsPerSecond, bytesProcessed, clockRate, controls, format, handler, itsRTPBuffer, jitter, lastTimestamp, packetSize, receptionStats, rtpbufferlen, rtpbufferlenMS, ssrc, threshold |
| Fields inherited from interface javax.media.protocol.SourceStream |
|---|
LENGTH_UNKNOWN |
| Constructor Summary | |
|---|---|
RTPAudioDataStream(long ssrc,
Format format)
Creates a new RTPDataStream |
|
| Method Summary | |
|---|---|
protected void |
addPacket(RTPHeader header,
byte[] data,
int offset,
int length)
Adds a packet to the buffers |
void |
read(Buffer buffer)
Reads the data from this stream and returns them in the buffer passed as argument. |
| Methods inherited from class net.sf.fmj.media.rtp.RTPDataStream |
|---|
addFormat, calculateJitter, endOfStream, getContentDescriptor, getContentLength, getControl, getControlComponent, getControls, getFormat, getFormat, getFormatList, getGlobalStats, getJitter, getJitterBufferItemCount, getJitterBufferSize, getReceptionStats, setTransferHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.media.protocol.PushBufferStream |
|---|
getFormat, setTransferHandler |
| Methods inherited from interface javax.media.protocol.SourceStream |
|---|
endOfStream, getContentDescriptor, getContentLength |
| Methods inherited from interface javax.media.Controls |
|---|
getControl, getControls |
| Constructor Detail |
|---|
public RTPAudioDataStream(long ssrc,
Format format)
ssrc - the SSRC of this streamformat - The format of the data| Method Detail |
|---|
protected 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 packet
public void read(Buffer buffer)
throws java.io.IOException
read in interface PushBufferStreamread in class RTPDataStreambuffer - the buffer in which the data read must be stored
java.io.IOException - I/O Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||