public class TransformEngineChain.PacketTransformerChain extends java.lang.Object implements PacketTransformer
|Constructor and Description|
Creates an instance of this packet transformer and prepares it to deal with RTP or RTCP according to the isRtp argument.
|Modifier and Type||Method and Description|
Close the transformer and underlying transform engines.
Reverse-transforms each packet in an array of packets.
Transforms each packet in an array of packets.
Transforms the specified
public PacketTransformerChain(boolean rtp)
rtp- true if this transformer will be dealing with RTP (i.e. will transform packets via the RTP transformers in this chain rather than the RTCP ones) and false otherwise.
public void close()
public RawPacket reverseTransform(RawPacket pkts)
pkts- the transformed packets to be restored.
public RawPacket transform(RawPacket pkts)
pktsusing each of the
TransformEngines in the chain in order.
pkts- the packets to be transformed
public RawPacket transform(RawPacket pkts, TransformEngine after)
TransformEngines in the chain in order starting after a specific
pkts- the array of
RawPackets to transform
TransformEnginein the chain after which the transformation is to begin. If
afteris not in the chain, the transformation executes through the whole chain.
RawPackets that is the result of the transformation of
TransformEngines in the chain
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.