public class OperationSetDTMFJabberImpl extends AbstractOperationSetDTMF
dtmfMethod, maximalToneDuration, minimalToneDuration, volume
DEFAULT_DTMF_MAXIMAL_TONE_DURATION, DEFAULT_DTMF_MINIMAL_TONE_DURATION, DEFAULT_DTMF_TONE_VOLUME, PROP_MAXIMAL_RTP_DTMF_TONE_DURATION, PROP_MINIMAL_RTP_DTMF_TONE_DURATION
Constructor and Description |
---|
OperationSetDTMFJabberImpl(ProtocolProviderServiceJabberImpl pps)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
startSendingDTMF(CallPeer callPeer,
org.jitsi.service.neomedia.DTMFTone tone)
Sends the DTMFTone tone to callPeer.
|
void |
stopSendingDTMF(CallPeer callPeer)
Stops sending DTMF.
|
isRFC4733Active
public OperationSetDTMFJabberImpl(ProtocolProviderServiceJabberImpl pps)
pps
- the Jabber Protocol provider servicepublic void startSendingDTMF(CallPeer callPeer, org.jitsi.service.neomedia.DTMFTone tone) throws OperationFailedException
callPeer
- the call peer to send tone to.tone
- the DTMF tone to send to callPeer.OperationFailedException
- with code OPERATION_NOT_SUPPORTED if
DTMF tones are not supported for callPeer.java.lang.NullPointerException
- if one of the arguments is null.java.lang.IllegalArgumentException
- in case the call peer does not
belong to the underlying implementation.public void stopSendingDTMF(CallPeer callPeer)
callPeer
- the call peer that we'd like to stop sending DTMF to.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.