Skip to content

Conversation

@behei-vonage
Copy link
Contributor

What is this PR doing?

This PR fixes an issue where a webcam light stays on when toggling video off. This happens due to now using two different publishers, one of which was not being changed when toggling the video off.

How should this be manually tested?

To reproduce the issue, follow these steps:

  • Checkout develop branch.
  • Join the waiting room, turn off your camera and notice that the light on your webcam/built-in camera stays on.
  • Join the meeting room, turn off your camera and notice that the light on your webcam/built-in camera stays off.

To reproduce the fix, follow the steps above on this PRs' branch and notice that the issue is no longer reproducible.

What are the relevant tickets?

A maintainer will add this ticket number.

Resolves VIDSOL-149

Checklist

[ ] Branch is based on develop (not main).
[ ] Resolves a Known Issue.
[ ] If yes, did you remove the item from the docs/KNOWN_ISSUES.md?
[ ] Resolves an item reported in Issues.
If yes, which issue? Issue Number?

@behei-vonage behei-vonage self-assigned this Aug 26, 2025
@sonarqubecloud
Copy link

Copy link
Contributor

@v-kpheng v-kpheng left a comment

Choose a reason for hiding this comment

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

LGTM! 💪 🚀

expect(screen.getByTestId('ArrowDropUpIcon')).toBeInTheDocument();
});

it('updates the main publisher and the background replacement publisher when clicked', () => {
Copy link
Contributor

@v-kpheng v-kpheng Aug 27, 2025

Choose a reason for hiding this comment

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

Nit: "updates" -> "toggles" ?

expect(screen.getByTestId('VideocamOffIcon')).toBeInTheDocument();
});

it('updates the main publisher and the background replacement publisher when clicked', () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same nit here: "updates" -> "toggles" 🤷‍♂️

Copy link
Contributor

@cpettet cpettet left a comment

Choose a reason for hiding this comment

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

LGTM Great job! :shipit:

@dwivedisachin
Copy link
Contributor

Tested LGTM!! 🚀

@dwivedisachin dwivedisachin merged commit c3e958b into develop Sep 3, 2025
9 checks passed
@dwivedisachin dwivedisachin deleted the behei-vonage/vidsol-149-light-on branch September 3, 2025 15:55
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.

5 participants