client-sdk-swift icon indicating copy to clipboard operation
client-sdk-swift copied to clipboard

Mute without stopping audio recording

Open daveleroy opened this issue 1 year ago • 2 comments

The behavior I am after is similar to discord where toggling mute does not disable recording just stops broadcasting voice. Is there a way to achieve this in live-kit or is it something you would consider adding?

Currently I have tried calling LocalTrackPublication.mute(true)but it will stop the audio capture which causes iOS to lockup for a split second (this is especially noticeable on bluetooth devices when playing a video in the background).

daveleroy avatar Jul 04 '24 01:07 daveleroy

This is intended behavior to stop the mic indicator. But maybe we can have an option for this.

hiroshihorie avatar Jul 05 '24 04:07 hiroshihorie

This should fix this issue: https://github.com/webrtc-sdk/webrtc/pull/150

hiroshihorie avatar Oct 22 '24 07:10 hiroshihorie