useActivePeers

useActivePeers

The useActivePeers hook returns the last most active "N" number of peers i.e. activePeerIds & dominantSpeakerId.

DescriptionType
last most active n number of peers.string[]
last most active peer.string

Example Usage

const {
    activePeerIds,
    dominantSpeakerId,
  } = useActivePeers();
Audio/Video Infrastructure designed for developers to empower them to ship simple yet powerful Audio/Video Apps.
support
company
Copyright © 2024 Graphene 01, Inc. All Rights Reserved.