The UI components use custom hooks to connect to the Dolby.io Communications APIs.

If you would like to connect to the Dolby.io Communications APIs using your own UI components, you can use the following exported hooks to add conferencing features to your application:

Hook

Description

useSession

Enables opening and closing sessions, as well as information about the local participant.

useConference

Enables creating, joining, or leaving conferences.

useParticipants

Provides information about participants in the current conference and their status.

useAudio

Can be used to mute or unmute audio for local and remote participants.

useVideo

Can be used to enable or disable the camera for the local participant.

useCamera

Lists and selects available cameras, in addition to requesting camera permissions from the user.

useMicrophone

Lists and selects available microphones, in addition to requesting microphone permissions from the user.

useSpeaker

Lists and selects available output speakers.


Did this page help you?