public interface SimpleAudioLevelListener
| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LEVEL
The maximum level that can be reported for a participant in a conference.
|
static int |
MIN_LEVEL
The maximum (zero) level that can be reported for a participant in a
conference.
|
| Modifier and Type | Method and Description |
|---|---|
void |
audioLevelChanged(int level)
Indicates a new audio level for the source that this listener was
registered with.
|
static final int MAX_LEVEL
MIN_LEVEL in a way that would appear uniform to users.
Note: The value of 127 is specifically chosen as the value of MAX_LEVEL because (1) we transport the levels within RTP and it gives us a signed byte for it, and (2) the range of [0, 127] is pretty good to directly express the sound pressure level decibels as heard by humans in Earth's atmosphere.
static final int MIN_LEVEL
MAX_LEVEL
and MIN_LEVEL in a way that would appear uniform to users.
Note: The value of 0 is specifically chosen as the value of MIN_LEVEL because (1) we transport the levels within RTP and it gives us a signed byte for it, and (2) the range of [0, 127] is pretty good to directly express the sound pressure level decibels as heard by humans in Earth's atmosphere.
Copyright © 2022 jitsi.org. All rights reserved.