|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.java.sip.communicator.impl.neomedia.transform.csrc.CsrcTransformEngine
public class CsrcTransformEngine
We use this engine to add the list of CSRC identifiers in RTP packets that we send to conference participants during calls where we are the mixer.
| Constructor Summary | |
|---|---|
CsrcTransformEngine(MediaStreamImpl stream)
Creates an engine instance that will be adding CSRC lists to the specified stream. |
|
| Method Summary | |
|---|---|
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 |
setCsrcAudioLevelAudioLevelExtensionID(byte extID,
MediaDirection dir)
Sets the ID that this transformer should be using for audio level extensions or disables audio level extensions if extID is -1. |
void |
stop()
Stops threads that this transform engine is using for even delivery. |
RawPacket |
transform(RawPacket pkt)
Extracts the list of CSRC identifiers representing participants currently contributing to the media being sent by the MediaStream associated with this engine and (unless the list is empty) encodes them into the RawPacket. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CsrcTransformEngine(MediaStreamImpl stream)
stream - that MediaStream whose RTP packets we are going
to be adding CSRC lists. to| Method Detail |
|---|
public PacketTransformer getRTCPTransformer()
getRTCPTransformer in interface TransformEnginepublic PacketTransformer getRTPTransformer()
getRTPTransformer in interface TransformEnginepublic RawPacket reverseTransform(RawPacket pkt)
reverseTransform in interface PacketTransformerpkt - the RTP RawPacket that we are to extract a CSRC list
from.
public RawPacket transform(RawPacket pkt)
transform in interface PacketTransformerpkt - the RTP RawPacket that we need to add a CSRC list to.
public void stop()
public void setCsrcAudioLevelAudioLevelExtensionID(byte extID,
MediaDirection dir)
extID - ID that this transformer should be using for audio level
extensions or -1 if audio level extensions should be disableddir - the direction that we are expected to hand this extension in.
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||