Skip to content

feat: add audio/video select menu#6017

Merged
nicodh merged 2 commits intomainfrom
add-audio-video-select
Feb 5, 2026
Merged

feat: add audio/video select menu#6017
nicodh merged 2 commits intomainfrom
add-audio-video-select

Conversation

@nicodh
Copy link
Copy Markdown
Member

@nicodh nicodh commented Feb 4, 2026

Follow up to #5967

image

Copy link
Copy Markdown
Member

@WofWca WofWca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code looks good, and things also work as written, but I think we should not merge this until we have Core the API to actually convey the info about whether this is a video or an audio call to the remote party, i.e. chatmail/core#7740. Because otherwise the button is kind of misleading. You think that you're starting an audio-only call, but for the callee the camera is enabled by default.

Comment thread packages/frontend/src/components/screens/MainScreen/MainScreen.tsx
Comment thread packages/runtime/runtime.ts Outdated
Comment thread packages/runtime/runtime.ts Outdated
startOutgoingVideoCall(
accountId: number,
chatId: number,
cameraEnabled: boolean
Copy link
Copy Markdown
Member

@WofWca WofWca Feb 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also maybe it's better to stick to noOutgoingVideoInitially?
Edit: I mean the name

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noOutgoingVideoInitially sounds for me more confusing

would you agree on
startWithCameraEnabled ?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All are fine to me

Copy link
Copy Markdown
Member

@WofWca WofWca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The core upgrade issue has been addressed.
I tested this, the "video enabled initially" state is conveyed and respected.

Regarding the UI / UX: not sure if it's the best to have people click two times (maybe we should have two separate buttons presented right away, maybe one hidden behind the three-dot menu), but at least Signal utilizes the same approach, so this is good.

@ralphtheninja
Copy link
Copy Markdown
Member

Regarding the UI / UX: not sure if it's the best to have people click two times (maybe we should have two separate buttons presented right away, maybe one hidden behind the three-dot menu), but at least Signal utilizes the same approach, so this is good.

Why not a toggle button? One image is the camera with a red line/cross over it and the other state shows an enabled camera. Then you only need one click to toggle the state.

@WofWca
Copy link
Copy Markdown
Member

WofWca commented Feb 5, 2026

I though about that a little, and the problem with that is that it basically introduces a "default" mode for calls, i.e. not requiring the user to make an explicit choice. But then again, I am not sure if it's good or not.

You are still free to toggle the camera however you like after you have already started the call.

@nicodh
Copy link
Copy Markdown
Member Author

nicodh commented Feb 5, 2026

I remember that these issues were alreday discussed. (at least live, maybe online too somewhere)

@nicodh nicodh merged commit 71f71b5 into main Feb 5, 2026
11 checks passed
@nicodh nicodh deleted the add-audio-video-select branch February 5, 2026 11:50
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.

3 participants