Class TransformEngineWrapper<T extends TransformEngine>
- java.lang.Object
-
- org.jitsi.impl.neomedia.transform.TransformEngineWrapper<T>
-
- All Implemented Interfaces:
TransformEngine
public class TransformEngineWrapper<T extends TransformEngine> extends Object implements TransformEngine
Wraps a TransformerEngine (allows the wrapped instance to be swapped without modifications to the RTPConnector's transformer engine chain.- Author:
- George Politis, Lyubomir Marinov
-
-
Constructor Summary
Constructors Constructor Description TransformEngineWrapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(T t)Determines whether thisTransformEngineWrappercontains a specificTransformEngine.PacketTransformergetRTCPTransformer()Gets the PacketTransformer for RTCP packets.PacketTransformergetRTPTransformer()Gets the PacketTransformer for RTP packets.TgetWrapped()voidsetWrapped(T wrapped)
-
-
-
Method Detail
-
contains
public boolean contains(T t)
Determines whether thisTransformEngineWrappercontains a specificTransformEngine.- Parameters:
t- theTransformEngineto check whether it is contained in thisTransformEngineWrapper- Returns:
trueiftequalswrappedortis contained in thechainofwrapped(ifwrappedis aTransformEngineChain); otherwise,false
-
getRTCPTransformer
public PacketTransformer getRTCPTransformer()
Gets the PacketTransformer for RTCP packets.- Specified by:
getRTCPTransformerin interfaceTransformEngine- Returns:
- the PacketTransformer for RTCP packets
-
getRTPTransformer
public PacketTransformer getRTPTransformer()
Gets the PacketTransformer for RTP packets.- Specified by:
getRTPTransformerin interfaceTransformEngine- Returns:
- the PacketTransformer for RTP packets
-
getWrapped
public T getWrapped()
-
setWrapped
public void setWrapped(T wrapped)
-
-