client-sdk-swift
client-sdk-swift copied to clipboard
Mute without stopping audio recording
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).
This is intended behavior to stop the mic indicator. But maybe we can have an option for this.
This should fix this issue: https://github.com/webrtc-sdk/webrtc/pull/150