> ## Documentation Index
> Fetch the complete documentation index at: https://docs.daily.co/llms.txt
> Use this file to discover all available pages before exploring further.

# getRemoteParticipantsAudioLevel()

> Returns the current audio level for each remote participant.

`getRemoteParticipantsAudioLevel()`

✓ Prebuilt✓ Custom

Returns the latest audio level for each remote participant. You must call [`startRemoteParticipantsAudioLevelObserver()`](https://docs.daily.co/reference/daily-js/instance-methods/start-remote-participants-audio-level-observer) before calling this method — otherwise it returns an empty object.

This method is synchronous — it does not return a Promise.

## Return value

Returns a `DailyParticipantsAudioLevel` object: a map of participant session IDs to audio level values. Each value is a `number` between `0.0` (silence) and `1.0` (maximum volume).

## Example

```javascript theme={null}
await call.startRemoteParticipantsAudioLevelObserver(100);

const levels = call.getRemoteParticipantsAudioLevel();
// {
//   "03ec86c3-59cc-4bea-a61b-f8ffae9a2989": 0.28,
//   "5e1fa0e9-cce6-45a0-ba61-f64d24b41ff6": 0
// }

const activeSpeakerId = Object.entries(levels)
  .sort(([, a], [, b]) => b - a)[0]?.[0];
```

## See also

> [card] Methods
>
> * [startRemoteParticipantsAudioLevelObserver()](https://docs.daily.co/reference/daily-js/instance-methods/start-remote-participants-audio-level-observer.md)
> * [stopRemoteParticipantsAudioLevelObserver()](https://docs.daily.co/reference/daily-js/instance-methods/stop-remote-participants-audio-level-observer.md)
> * [isRemoteParticipantsAudioLevelObserverRunning()](https://docs.daily.co/reference/daily-js/instance-methods/is-remote-participants-audio-level-observer-running.md)
> * [getLocalAudioLevel()](https://docs.daily.co/reference/daily-js/instance-methods/get-local-audio-level.md)

> [card] Events
>
> * [remote-participants-audio-level](https://docs.daily.co/reference/daily-js/events/media-events.md#remote-participants-audio-level)

> [card] Guides
>
> * [Audio and video](https://docs.daily.co/docs/daily-js/guides/audio-video.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.