Skip to content

[Windows][Bug]: Camera briefly starts then stops when clicking video button on panel #308

@nrv-96

Description

@nrv-96

Search existing issues

  • I have searched the existing issues

Describe the bug

When clicking the video button on the panel in OpenScreen, the laptop camera briefly turns on for about 1 second and then automatically stops. However, the video button remains enabled in the UI, giving the impression that the camera is still active.

Steps to Reproduce:
Open OpenScreen.
Navigate to the panel with the video button.
Click on the video button.
Observe the laptop camera behavior.

Actual Behavior:
The camera light turns on for about 1 second and then turns off.
The video button remains enabled despite the camera being inactive.

Additional Observations:
The camera hardware indicator (light) confirms that the camera stops physically.
There is a mismatch between UI state and actual camera status.

Environment:
Device: Laptop
OS: Windows 11
Version: 1.3.0

Possible Cause:
Camera permission issue or stream not being maintained.
Failure in media stream initialization or retention.

Suggested Fix:
Ensure proper handling of media stream lifecycle.
Update UI state based on actual camera stream status.
Add error handling/logging if the camera stream stops unexpectedly.

Expected behavior

The camera should remain active as long as the video button is enabled.
The UI state (video button) should accurately reflect whether the camera is on or off.

To Reproduce

Open OpenScreen.
Navigate to the panel with the video button.
Click on the video button.
Observe the laptop camera behavior.

Screenshots

No response

OS

Windows

OS Version

windows 11

Other OS

No response

Browser

Chrome

Browser Version

No response

Other Browser

No response

Device Type

Laptop

Other Device

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions