Skip to content

Add ability to enable camera in personal office #9190

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

utkaka
Copy link
Contributor

@utkaka utkaka commented Jun 9, 2025

The camera in the personal office is turned off by default, but users now have the option to enable it in their office

The camera in the personal office is turned off by default, but users now have the option to enable it in their office

Signed-off-by: Anton Alexeyev <[email protected]>
Copy link

Connected to Huly®: UBERF-11444

export let width: string | undefined = 'fit-content'

$: booleanValue = value === RoomType.Video
$: disabled = object === undefined || !('person' in object) || (object as Office).person !== getCurrentEmployee()
Copy link
Member

Choose a reason for hiding this comment

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

so it will be enabled for me in my office, and disabled for me in any other office? why?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

So that users cannot turn on the camera in other people's offices. Should this be allowed?

Copy link
Member

Choose a reason for hiding this comment

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

Please use isOffice func. It should be $: disabled = object === undefined || (isOffice(object) && object.person !== getCurrentEmployee())

@utkaka utkaka marked this pull request as draft June 10, 2025 11:23
But office meetings should start with all participants' cameras turned off

Signed-off-by: Anton Alexeyev <[email protected]>
@utkaka utkaka force-pushed the personal-office-camera branch from bbcec64 to d75ac6c Compare June 16, 2025 04:29
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