Class RTPH263

java.lang.Object
javaforce.voip.RTPH263
All Implemented Interfaces:
RTPVideoCoder

public class RTPH263 extends Object implements RTPVideoCoder
  • Constructor Details

    • RTPH263

      public RTPH263()
  • 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)
      Returns last full packet.
      Specified by:
      decode in interface RTPVideoCoder