Class RTPH263_1998
java.lang.Object
javaforce.voip.RTPH263_1998
- All Implemented Interfaces:
RTPVideoCoder
- Direct Known Subclasses:
RTPH263_2000
Encodes/Decodes RTP/H263+ packets (H263-1998)
Payload type is Dynamic
SDP Syntax = "H263-1998"
http://tools.ietf.org/html/rfc2429
http://tools.ietf.org/html/rfc4629
- Author:
- pquiring
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddecode(byte[] rtp, int offset, int length, PacketReceiver pr) Assembles RTP fragments into H263 packets.voidencode(byte[] data, int offset, int length, int x, int y, PacketReceiver pr) Encodes raw H.263 data into multiple RTP packets.voidsetid(int id) Sets RTP payload ID.
-
Constructor Details
-
RTPH263_1998
public RTPH263_1998()
-
-
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 H.263 data into multiple RTP packets.- Specified by:
encodein interfaceRTPVideoCoder
-
decode
Assembles RTP fragments into H263 packets.- Specified by:
decodein interfaceRTPVideoCoder
-