Listener
Listen to the meeting and emit events
Notes
- From extensions perspective,
subscribe
command is all you need for most cases.- SessionEvent will be received to the channel you provided.
- It's safe to call
subscribe
multiple times, or beforestart_session
is called.
Commands
ts
import { commands } from "@hypr/plugin-listener";
- checkMicrophoneAccess
- checkSystemAudioAccess
- getMicMuted
- getSpeakerMuted
- getState
- listMicrophoneDevices
- openMicrophoneAccessSettings
- openSystemAudioAccessSettings
- pauseSession
- requestMicrophoneAccess
- requestSystemAudioAccess
- resumeSession
- setMicMuted
- setSpeakerMuted
- startSession
- stopSession
- subscribe
- unsubscribe