livekit / rust-sdks

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

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

Closed maxbrunsfeld closed 3 months ago

maxbrunsfeld commented 4 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.