public static interface PublisherKit.AudioLevelListener
Modifier and Type | Method and Description |
---|---|
void |
onAudioLevelUpdated(PublisherKit publisher,
float audioLevel)
Called periodically to report the audio level of the publisher.
|
void onAudioLevelUpdated(PublisherKit publisher, float audioLevel)
publisher
- The publisher.audioLevel
- The audio level, from 0 to 1.0. Adjust this value
logarithmically for use in a user interface visualization (such as
a volume meter).