Skip to content

feat: Enable video with an env var - #847

Merged
chrishultin merged 10 commits into
stoatchat:mainfrom
Dadadah:feat/enablevideo
Feb 28, 2026
Merged

chrishultin merged 10 commits into
stoatchat:mainfrom
Dadadah:feat/enablevideo

Conversation

@Dadadah

@Dadadah Dadadah commented Feb 20, 2026 •

Copy link
Copy Markdown
Member

This PR adds an environment variable to enable video for self hosted users. The new variable is VITE_CFG_ENABLE_VIDEO and defaults to off. The variable must be explicitly set to "true" to enable video. The variable has been added to the docker build process.

This PR also adds the ability to fullscreen camera and screen share.

Lastly, this PR fixes the user card remaining a camera card after the camera has been muted (turned off).

Closes #845
Allows closing stoatchat/self-hosted#200

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
@Dadadah

This comment was marked as outdated.

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
@RandoDeveloper

Copy link
Copy Markdown

mise test:e2e passes on my machine, Is this in need of assistance?

@Dadadah

This comment was marked as outdated.

@RandoDeveloper

RandoDeveloper commented Feb 21, 2026 via email

Copy link
Copy Markdown

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
@chrishultin
chrishultin enabled auto-merge (squash) February 28, 2026 16:23
Signed-off-by: Christopher Hultin <chris.hultin@gmail.com>
@chrishultin
chrishultin merged commit 928e898 into stoatchat:main Feb 28, 2026
7 of 9 checks passed
Pecacheu pushed a commit to Pecacheu/for-web that referenced this pull request Mar 2, 2026
* feat: Enable video and screenshare with an env variable for self host

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* feat: Enable fullscreening video and screen share streams

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Env var works now, camera view is disabled when camera turned off

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Leave fullscreen when a user stops their camera stream

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: run linter

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Access this env var safely as it may not exist

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Only attempt to exit fullscreen if in fullscreen

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

---------

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
Co-authored-by: Christopher Hultin <chrishultin@google.com>
amycatgirl pushed a commit to amycatgirl/stoat-frontend that referenced this pull request Mar 17, 2026
* feat: Enable video and screenshare with an env variable for self host

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* feat: Enable fullscreening video and screen share streams

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Env var works now, camera view is disabled when camera turned off

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Leave fullscreen when a user stops their camera stream

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: run linter

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Access this env var safely as it may not exist

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Only attempt to exit fullscreen if in fullscreen

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

---------

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
Co-authored-by: Christopher Hultin <chrishultin@google.com>
@Dadadah
Dadadah deleted the feat/enablevideo branch April 19, 2026 17:15
Pecacheu pushed a commit to Pecacheu/for-web that referenced this pull request Jun 22, 2026
* feat: Enable video and screenshare with an env variable for self host

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* feat: Enable fullscreening video and screen share streams

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Env var works now, camera view is disabled when camera turned off

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Leave fullscreen when a user stops their camera stream

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: run linter

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Access this env var safely as it may not exist

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

* fix: Only attempt to exit fullscreen if in fullscreen

This commit was made without the use of generative AI.

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>

---------

Signed-off-by: Jacob Schlecht <dadadah@echoha.us>
Co-authored-by: Christopher Hultin <chrishultin@google.com>
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.

feat: Allow video to be turned on for self hosters

4 participants