Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.impl.neomedia.transform
Class TransformEngineChain

java.lang.Object
  extended by net.java.sip.communicator.impl.neomedia.transform.TransformEngineChain
All Implemented Interfaces:
TransformEngine

public class TransformEngineChain
extends Object
implements TransformEngine

The engine chain allows using numerous TransformEngines on a single stream.

Author:
Emil Ivov, Lubomir Marinov

Constructor Summary
TransformEngineChain(TransformEngine[] engineChain)
          Creates a new TransformEngineChain using the engineChain array.
 
Method Summary
 PacketTransformer getRTCPTransformer()
          Returns the meta PacketTransformer that will be applying RTCP transformations from all engines registered in this TransformEngineChain.
 PacketTransformer getRTPTransformer()
          Returns the meta PacketTransformer that will be applying RTCP transformations from all engines registered in this TransformEngineChain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransformEngineChain

public TransformEngineChain(TransformEngine[] engineChain)
Creates a new TransformEngineChain using the engineChain array. Engines will be applied in the order specified by the engineChain array for outgoing packets and in the reverse order for incoming packets.

Parameters:
engineChain - an array containing TransformEngines in the order that they are to be applied on outgoing packets.
Method Detail

getRTPTransformer

public PacketTransformer getRTPTransformer()
Returns the meta PacketTransformer that will be applying RTCP transformations from all engines registered in this TransformEngineChain.

Specified by:
getRTPTransformer in interface TransformEngine
Returns:
a PacketTransformerChain over all RTP transformers in this engine chain.

getRTCPTransformer

public PacketTransformer getRTCPTransformer()
Returns the meta PacketTransformer that will be applying RTCP transformations from all engines registered in this TransformEngineChain.

Specified by:
getRTCPTransformer in interface TransformEngine
Returns:
a PacketTransformerChain over all RTCP transformers in this engine chain.

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.