|
|
|
|
@ -17,10 +17,43 @@
|
|
|
|
|
*/
|
|
|
|
|
public interface AudioMediaStream extends MediaStream
|
|
|
|
|
{
|
|
|
|
|
public void addSoundLevelListener();
|
|
|
|
|
/**
|
|
|
|
|
* Adds <tt>listener</tt> to the list of <tt>SoundLevelListener</tt>s
|
|
|
|
|
* registered to receive notifications for changes in the levels of
|
|
|
|
|
* conference participants that the remote party could be mixing.
|
|
|
|
|
*
|
|
|
|
|
* @param listener the <tt>SoundLevelListener</tt> that we'd like to
|
|
|
|
|
* register.
|
|
|
|
|
*/
|
|
|
|
|
public void addSoundLevelListener(SoundLevelListener listener);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Removes <tt>listener</tt> from the list of <tt>SoundLevelListener</tt>s
|
|
|
|
|
* registered to receive notification events upon changes of the sound
|
|
|
|
|
* level.
|
|
|
|
|
*
|
|
|
|
|
* @param listener the listener that we'd like to unregister.
|
|
|
|
|
*/
|
|
|
|
|
public void removeSoundLevelListener(SoundLevelListener listener);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Starts sending the specified <tt>DTMFTone</tt> until the
|
|
|
|
|
* <tt>stopSendingDTMF()</tt> method is called. Callers should keep in mind
|
|
|
|
|
* the fact that calling this method would most likely interrupt all audio
|
|
|
|
|
* transmission until the corresponding stop method is called. Also, calling
|
|
|
|
|
* this method successively without invoking the corresponding stop method
|
|
|
|
|
* between the calls, would simply replace the <tt>DTMFTone</tt> from the
|
|
|
|
|
* first call with that from the second.
|
|
|
|
|
*
|
|
|
|
|
* @param tone the <tt>DTMFTone</tt> that we'd like to start sending.
|
|
|
|
|
*/
|
|
|
|
|
public void startSendingDTMF(DTMFTone tone);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Interrupts transmission of a <tt>DTMFTone</tt> started with the
|
|
|
|
|
* <tt>startSendingDTMF</tt> method. This method has no effect if no tone
|
|
|
|
|
* is being currently sent.
|
|
|
|
|
*/
|
|
|
|
|
public void stopSendingDTMF();
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
@ -32,8 +65,9 @@ public interface AudioMediaStream extends MediaStream
|
|
|
|
|
public void addDTMFListener(DTMFListener listener);
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
*
|
|
|
|
|
* @param listener
|
|
|
|
|
* Remove <tt>listener</tt> from the list of <tt>DTMFListener</tt>s
|
|
|
|
|
* registered to receive events for incoming DTMF tones.
|
|
|
|
|
* @param listener the listener that we'd like to unregister
|
|
|
|
|
*/
|
|
|
|
|
public void removeDTMFListener(DTMFListener listener);
|
|
|
|
|
|
|
|
|
|
|