public class SsrcTransformEngine extends SinglePacketTransformerAdapter implements TransformEngine
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DROP_MUTED_AUDIO_SOURCE_IN_REVERSE_TRANSFORM
The name of the ConfigurationService property which specifies
whether SsrcTransformEngine is to drop RTP packets indicated as
generated from a muted audio source in
reverseTransform(RawPacket) . |
Constructor and Description |
---|
SsrcTransformEngine(MediaStreamImpl mediaStream)
Initializes a new SsrcTransformEngine to be utilized by a
specific MediaStreamImpl.
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this PacketTransformer i.e.
|
PacketTransformer |
getRTCPTransformer()
Always returns null since this engine does not require any
RTCP transformations.
|
PacketTransformer |
getRTPTransformer()
Returns a reference to this class since it is performing RTP
transformations in here.
|
RawPacket |
reverseTransform(RawPacket pkt)
Extracts the list of CSRC identifiers and passes it to the
MediaStream associated with this engine.
|
void |
setSsrcAudioLevelExtensionID(byte extID,
MediaDirection dir) |
transform
reverseTransform, transform
public static final java.lang.String DROP_MUTED_AUDIO_SOURCE_IN_REVERSE_TRANSFORM
reverseTransform(RawPacket)
.public SsrcTransformEngine(MediaStreamImpl mediaStream)
mediaStream
- the MediaStreamImpl to utilize the new
instancepublic void close()
close
in interface PacketTransformer
close
in class SinglePacketTransformer
public PacketTransformer getRTCPTransformer()
getRTCPTransformer
in interface TransformEngine
public PacketTransformer getRTPTransformer()
getRTPTransformer
in interface TransformEngine
public RawPacket reverseTransform(RawPacket pkt)
reverseTransform
in class SinglePacketTransformerAdapter
pkt
- the RTP RawPacket that we are to extract a SSRC list
from.public void setSsrcAudioLevelExtensionID(byte extID, MediaDirection dir)
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.