|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.fmj.media.rtp.RTPPacket
public class RTPPacket
Represents an RTP Packet
Constructor Summary | |
---|---|
RTPPacket(byte[] data,
int offset,
int length)
Creates a new RTPPacket |
|
RTPPacket(java.net.DatagramPacket packet)
Creates a new RTPPacket |
Method Summary | |
---|---|
byte[] |
getRtpData()
Returns the data contained in this packet. |
RTPHeader |
getRtpHeader()
Returns the RTP Header of this packet. |
int |
getRtpLength()
Returns the length of this packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RTPPacket(java.net.DatagramPacket packet) throws java.io.IOException
packet
- The datagram to get the packet from
java.io.IOException
- I/O Exceptionpublic RTPPacket(byte[] data, int offset, int length) throws java.io.IOException
offset
- the offset after which the RTP packet startslength
- the total lengthdata
- The datagram to get the packet from
java.io.IOException
- I/O ExceptionMethod Detail |
---|
public RTPHeader getRtpHeader()
public byte[] getRtpData()
public int getRtpLength()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |