Skip to content

v0.4.0

Choose a tag to compare

@treyorr treyorr released this 20 Feb 04:30
· 6 commits to main since this release
a41053a

What's Changed

  • feat: Add local and remote muting (#9)

This release introduces the highly requested capability to individually mute peers and properly visualize when a peer has muted themselves across the entire Voca stack.

✨ Features

  • Local Peer Muting: You can now mute specific individuals in a room without silencing their visual audio pulse or turning off your whole tab.
  • Remote Mute Visibility: When a user mutes their own microphone, a [SELF-MUTED] indicator broadcasts to all other participants.

📦 SDK & API Updates

  • Protocol update: The Rust signaling server now supports a Mute { muted: bool } packet type and broadcasts it safely. Bumped protocol to v0.4.0.
  • Core Client: Added localMuted and remoteMuted to the Peer interface object.
  • Core Client: Added togglePeerMute(peerId) to mute local playback of a specific peer without destroying the audioContext.
  • Framework Wrappers: The peer-mute and peer-local-mute reactive events were brought directly into @treyorr/voca-svelte and the useVocaRoom() hooks in @treyorr/voca-react.

📚 Documentation

  • Updated API Reference with new variables and methods.
  • Added togglePeerMute() buttons and (Self-Muted) indicators to the Svelte and React code blocks inside the Getting Started guide.