Class RTPH263_1998

java.lang.Object
javaforce.voip.RTPH263_1998
All Implemented Interfaces:
RTPVideoCoder
Direct Known Subclasses:
RTPH263_2000

public class RTPH263_1998 extends Object implements RTPVideoCoder
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 Details

    • RTPH263_1998

      public RTPH263_1998()
  • Method Details

    • setid

      public void setid(int id)
      Description copied from interface: RTPVideoCoder
      Sets RTP payload ID. This value is exchanged in SDP packets. For some video codecs this value is fixed and ignored.
      Specified by:
      setid in interface RTPVideoCoder
    • encode

      public void encode(byte[] data, int offset, int length, int x, int y, PacketReceiver pr)
      Encodes raw H.263 data into multiple RTP packets.
      Specified by:
      encode in interface RTPVideoCoder
    • decode

      public void decode(byte[] rtp, int offset, int length, PacketReceiver pr)
      Assembles RTP fragments into H263 packets.
      Specified by:
      decode in interface RTPVideoCoder