question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for enabling/disabling a camera in config

See original GitHub issue

Occasionally I need to temporarily disable a camera and it would be convenient to so in the yaml file without having to remove all of its configuration. I propose adding an optional top level enabled field for every camera like this:

cameras:
  my_camera: 
    enabled: False # <------ True by default
    ...

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:4
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

3reactions
blakeblackshearcommented, Oct 24, 2022

I actually like this idea. 😂

The benefit of having it in the config is the recordings can be maintained accordingly. Without it, it defaults back to the default settings.

This could also be a first step in making it possible to fully turn off a camera dynamically for cameras that aren’t always powered on.

0reactions
banthungprongcommented, Oct 25, 2022

Just made a branch from dev and added these changes. Generated the above Pull Request.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage cameras with Camera settings in Windows 11
Enable a camera · Select Start . · Type manage cameras into the search bar in the Start menu, and then select Manage...
Read more >
How to Disable or Enable Your Camera on Windows 10
If you want to re-enable it later just go to Settings > Devices > Cameras and click the Enable button. Use Device Manager....
Read more >
How to Enable or Disable Camera in Windows 10 - Winaero
Under the Cameras section on the right, click on your camera device you want to disable. Click on the Disable button. Windows 10...
Read more >
Enable or Disable Camera in Windows 11 Tutorial
Enable or Disable Camera in Settings · 1 Open Settings (Win+I). · 2 Click/tap on Bluetooth & devices on the left side, and...
Read more >
Disabling HTTP Connections in the Camera Configuration Tool
Close the Camera Configuration Tool application. · In Windows Explorer, navigate to the installation folder. · Double-click CCT_DisableHttp. · Click Yes, then OK....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found