useActivePeers
The useActivePeers
hook returns the last most active "N" number of peers i.e. activePeerIds
& dominantSpeakerId
.
Description | Type |
---|---|
last most active n number of peers. | string[] |
last most active peer. | string |
Example Usage
const {
activePeerIds,
dominantSpeakerId,
} = useActivePeers();
