Skip to content

feat: add screenshare audio with muting capabilities#1055

Open
Dadadah wants to merge 1 commit intostoatchat:mainfrom
Dadadah:feat/screenshareaudio
Open

feat: add screenshare audio with muting capabilities#1055
Dadadah wants to merge 1 commit intostoatchat:mainfrom
Dadadah:feat/screenshareaudio

Conversation

@Dadadah
Copy link
Member

@Dadadah Dadadah commented Mar 24, 2026

This PR adds audio to the screenshare functionality of Stoat. It also adds the ability to mute and change volume of streams.

The stream volume data is stored in the voice state. This was an opinionated decision as I do not think that stream volume should persist through refreshes. It is easy to change it to use the stored settings states instead if the stream volume should remain through refreshes.

This PR does enable sound by default, and sound will always be shared until a settings UI is made for screensharing.

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
@Dadadah Dadadah requested review from a team as code owners March 24, 2026 03:14
@Pecacheu
Copy link
Contributor

I'm 50/50 on if stream/user volume should persist through refreshes, but I do recall one of the other maintainers saying that feature should be added before. No clue if there's any consensus on that, though.

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