-
-
Constructor Summary
Constructors
-
Method Summary
decode(byte[] rtp,
int offset,
int length)
Returns last full packet.
byte[][]
encode(byte[] data,
int x,
int y,
int id)
Encodes raw VP8 data into multiple RTP packets.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Details
-
encode
public byte[][] encode(byte[] data,
int x,
int y,
int id)
Encodes raw VP8 data into multiple RTP packets.
- Specified by:
encode in class RTPCodec
-
decode
public Packet decode(byte[] rtp,
int offset,
int length)
Returns last full packet.
- Specified by:
decode in class RTPCodec