Skip to content

Tile Volume Persistence#17

Merged
7w1 merged 1 commit into
SableClient:livekitfrom
sandstorm244:tile-volume-persistence
Jul 16, 2026
Merged

Tile Volume Persistence#17
7w1 merged 1 commit into
SableClient:livekitfrom
sandstorm244:tile-volume-persistence

Conversation

@sandstorm244

Copy link
Copy Markdown

Content

Persist each tile's playback volume and restore it when the tile is created again.

New tileVolumes setting storing committed volume levels by the participant's RTC backend identity (userId:deviceId), with a :screen-share suffix so screen share audio keeps its own volume separate from the participant's voice.

createVolumeControls gains an initialVolume input and an onVolumeCommitted callback; the remote user media and remote screen share view models use them to restore and save volumes.

Only non-default volumes are stored, resetting a tile to full volume removes its entry.

Motivation and context

Per-tile volume adjustments were lost whenever the tile was recreated, so they had to be redone every call (and mid-call on reconnects), incredibly annoying imo...
Now they are kept when leaving and rejoining, volume levels are saved on slider release.

Muting a tile or releasing the slider at zero keeps the previously saved volume, matching the existing unmute behavior of returning to the last committed volume.

Screenshots / GIFs

N/A

Tests

Added unit tests for saveTileVolume and a new VolumeControls.test.ts covering initial volume, commit reporting, and mute interactions.
Typecheck and the full unit suite pass locally (node 24, mirroring CI).

persist committed per-tile playback volumes in settings and restore them on tile creation
@7w1
7w1 merged commit f4af403 into SableClient:livekit Jul 16, 2026
4 checks passed
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.

2 participants