Package javaforce.voip
Class RTPVP9
java.lang.Object
javaforce.voip.RTPVP9
- 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 VP9 packet into multiple RTP packets.voidsetid(int id) Sets RTP payload ID.
-
Constructor Details
-
RTPVP9
public RTPVP9()
-
-
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 VP9 packet into multiple RTP packets.- Specified by:
encodein interfaceRTPVideoCoder
-
decode
Returns last full packet.- Specified by:
decodein interfaceRTPVideoCoder
-