livekit / client-sdk-swift

LiveKit Swift Client SDK. Easily build live audio or video experiences into your mobile app, game or website.
https://livekit.io
Apache License 2.0
174 stars 84 forks source link

LocalParticipant - isSpeaking - delay #369

Open patryk-sredzinski opened 2 months ago

patryk-sredzinski commented 2 months ago

Seems like:

public func participant(_ participant: Participant, didUpdateIsSpeaking isSpeaking: Bool)

is called after a delay, when the audio from our microphone goes to server and it returns this message to us.

Is there any way that I can get isSpeaking and audioLevel properties that are for local audio track and are immediately, so the UI can be more responsive?

hiroshihorie commented 2 months ago

Hello actually I'm interested in implementing client-side signal processing so we can get more real time "isSpeaking" and audio visualization etc.

This is not a bug but would be an enhancement.