VapiAI / client-sdk-ios

This package lets you start Vapi calls directly in your iOS app.
MIT License
17 stars 9 forks source link

Add remote audio level listener to get the volume levels of the speaker #13

Closed mikejonas closed 5 months ago

mikejonas commented 5 months ago

Start the remote audio level observer with try await vapi?.startRemoteParticipantsAudioLevelObserver(). Then vapi?.remoteAudioLevel will have the assistant audio level.

I named it remoteAudioLevel to fit the Daily naming convension, but we can also call it assistantAudioLevel if that's more clear for vapi. Let me know