Class RTPVP8
java.lang.Object
javaforce.voip.RTPVP8
- All Implemented Interfaces:
RTPVideoCoder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(byte[] rtp, int offset, int length, PacketReceiver pr) Returns last full packet.voidencode(byte[] data, int offset, int length, int x, int y, PacketReceiver pr) Encodes raw VP8 data into multiple RTP packets.voidsetid(int id) Sets RTP payload ID.
-
Constructor Details
-
RTPVP8
public RTPVP8()
-
-
Method Details
-
setid
public void setid(int id) Description copied from interface:RTPVideoCoderSets RTP payload ID. This value is exchanged in SDP packets. For some video codecs this value is fixed and ignored.- Specified by:
setidin interfaceRTPVideoCoder
-
encode
Encodes raw VP8 data into multiple RTP packets.- Specified by:
encodein interfaceRTPVideoCoder
-
decode
Returns last full packet.- Specified by:
decodein interfaceRTPVideoCoder
-