public interface OperationSetDTMF extends OperationSet
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_DTMF_MAXIMAL_TONE_DURATION
The maximal tone duration value is -1 in order to stop sending tone only
when user requests to stop it.
|
static int |
DEFAULT_DTMF_MINIMAL_TONE_DURATION
The minimal tone duration value for RFC4733 is 100 ms.
|
static int |
DEFAULT_DTMF_TONE_VOLUME
The default tone volume value.
|
static java.lang.String |
PROP_MAXIMAL_RTP_DTMF_TONE_DURATION
The name of the ConfigurationService int property
which indicates the maximal duration for a DTMF tone (in ms).
|
static java.lang.String |
PROP_MINIMAL_RTP_DTMF_TONE_DURATION
The name of the ConfigurationService int property
which indicates the minimal duration for a DTMF tone.
|
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)
Stop sending of the currently transmitting DTMF tone.
|
static final int DEFAULT_DTMF_MINIMAL_TONE_DURATION
static final int DEFAULT_DTMF_MAXIMAL_TONE_DURATION
static final int DEFAULT_DTMF_TONE_VOLUME
static final java.lang.String PROP_MINIMAL_RTP_DTMF_TONE_DURATION
static final java.lang.String PROP_MAXIMAL_RTP_DTMF_TONE_DURATION
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.IllegalArgumentException
- in case the call peer does not
belong to the underlying implementation.void stopSendingDTMF(CallPeer callPeer)
callPeer
- the call peer to stop send tone to.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.