public interface SoundLevelListener
extends java.util.EventListener
What does this mean in the different cases: 1) In the case of a CallPeer, which is not a conference focus and has no ConferenceMembers we would be notified of any change in the sound level of the stream coming from this peer. 2) In the case of a CallPeer, which is also a conference focus and is participating in the conference as a ConferenceMember the level would be the aggregated level of all ConferenceMembers levels including the one corresponding to the peer itself. 3) In the case of a CallPeer, which is also a conference focus, but is NOT participating in the conference as a ConferenceMember (server) the level would be the aggregated level of all ConferenceMembers.
Modifier and Type | Method and Description |
---|---|
void |
soundLevelChanged(java.lang.Object source,
int level)
Indicates that a change has occurred in the audio stream level coming
from a given CallPeer.
|
void soundLevelChanged(java.lang.Object source, int level)
In contrast to the conventions of Java and Jitsi, SoundLevelListener does not fire an EventObject (i.e. SoundLevelChangeEvent) in order to try to reduce the number of allocations related to sound level changes since their number is expected to be very large.
source
- the Object which is the source of the sound level
change event being fired to this SoundLevelListenerlevel
- the sound level to notify this SoundLevelListener
about
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.