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