livekit / rust-sdks

LiveKit realtime and server SDKs for Rust
https://livekit.io
Apache License 2.0
212 stars 57 forks source link

Can't stop a remote audio track from playing with `RtcAudioTrack::set_enabled(false)` #359

Closed maxbrunsfeld closed 4 months ago

maxbrunsfeld commented 5 months ago

The RtcAudioTrack::set_enabled method (called by RemoteAudioTrack::disable) does not seem to do anything for me. In Zed, we are attempting to use those methods to implement "deafen" (temporarily turn off audio from all participants).

I'm testing on macOS.