Skip to content

feat(voice): add per-channel default-mute to share#31

Merged
wavekat-eason merged 1 commit into
mainfrom
feat/share-default-mute
Jun 26, 2026
Merged

feat(voice): add per-channel default-mute to share#31
wavekat-eason merged 1 commit into
mainfrom
feat/share-default-mute

Conversation

@wavekat-eason

Copy link
Copy Markdown
Contributor

Adds a per-channel default mute to the recording-share API: which side of a call starts muted in the shared player.

A call has two channels — local (the owner's mic, "your side") and remote (the other party, "their side"). The owner can mark a side as muted-by-default; the viewer can still un-mute it, and the audio file is unchanged. This is only the player's starting state.

Changes

  • default_mute_local / default_mute_remote (Option<bool>) added to ShareRecordingRequest, ShareRecordingResponse, ShareStateResponse in src/voice.rs, alongside the existing show_audio / allow_download controls.
  • camelCase wire (defaultMuteLocal / defaultMuteRemote); omitted when unset → platform applies its default (audible). Only meaningful while show_audio is true.
  • Tests extended: omit-when-unset, camelCase serialization, and GET-state parse all cover the new fields.

Consumed by wavekat-voice (daemon + share sheet) and the platform viewer/player.

🤖 Generated with Claude Code

A shared recording's player can start with one side muted by default.
Add default_mute_local / default_mute_remote (Option<bool>) to
ShareRecordingRequest, ShareRecordingResponse and ShareStateResponse,
mirroring the existing show_audio / allow_download controls. Each is
omitted when unset (platform defaults to audible) and only meaningful
while show_audio is true.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011v4mQUm4uU4kwf6jGfNptW
@wavekat-eason wavekat-eason merged commit 352d77d into main Jun 26, 2026
1 check passed
@wavekat-eason wavekat-eason deleted the feat/share-default-mute branch June 26, 2026 10:19
@github-actions github-actions Bot mentioned this pull request Jun 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant