rich-monitor-70665
02/13/2025, 1:16 PMgray-monkey-83525
02/13/2025, 1:16 PMmute
method on the LocalTrack
class. This method stops the sending of track data and notifies the RemoteParticipant
with a TrackMutedEvent
. Here's a simple example in Dart:
Future<bool> muteAgentAudioTrack(LocalTrack track) async {
return await track.mute();
}
This method returns true
if the track was successfully muted, and false
if it was already muted. For more details, you can refer to the LiveKit Dart API documentation.
Would you like more detailed information or examples?
Sources:
- LiveKit Dart API documentation 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.