-
-
Constructor Summary
Constructors
-
Method Summary
decode(byte[] rtp,
int offset,
int length)
byte[][]
encode(byte[] jpeg,
int x,
int y,
int id)
Encodes a raw JPEG 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[] jpeg,
int x,
int y,
int id)
Encodes a raw JPEG data into multiple RTP packets.
- Specified by:
encode in class RTPCodec
-
decode
public Packet decode(byte[] rtp,
int offset,
int length)
- Specified by:
decode in class RTPCodec