Class DiscardTransformEngine
- java.lang.Object
-
- org.jitsi.impl.neomedia.transform.DiscardTransformEngine
-
- All Implemented Interfaces:
TransformEngine
public class DiscardTransformEngine extends Object implements TransformEngine
As the name suggests, the DiscardTransformEngine discards packets that are flagged for discard. The packets that are passed on in the chain have their sequence numbers rewritten hiding the gaps created by the dropped packets. Instances of this class are not thread-safe. If multiple threads access an instance concurrently, it must be synchronized externally.- Author:
- George Politis
-
-
Constructor Summary
Constructors Constructor Description DiscardTransformEngine(MediaStream stream)Ctor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PacketTransformergetRTCPTransformer()Gets the PacketTransformer for RTCP packets.PacketTransformergetRTPTransformer()Gets the PacketTransformer for RTP packets.
-
-
-
Constructor Detail
-
DiscardTransformEngine
public DiscardTransformEngine(MediaStream stream)
Ctor.- Parameters:
stream- theMediaStreamthat owns this instance.
-
-
Method Detail
-
getRTPTransformer
public PacketTransformer getRTPTransformer()
Gets the PacketTransformer for RTP packets.- Specified by:
getRTPTransformerin interfaceTransformEngine- Returns:
- the PacketTransformer for RTP packets
-
getRTCPTransformer
public PacketTransformer getRTCPTransformer()
Gets the PacketTransformer for RTCP packets.- Specified by:
getRTCPTransformerin interfaceTransformEngine- Returns:
- the PacketTransformer for RTCP packets
-
-