Bug 482614 - Detect camera usage from apps accessing the camera in a low-level way (e.g. accessing /dev/video* directly)
Summary: Detect camera usage from apps accessing the camera in a low-level way (e.g. a...
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Camera Indicator widget (show other bugs)
Version: 6.0.1
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
: 492591 495288 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-03-06 23:40 UTC by Sdar
Modified: 2024-10-28 04:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sdar 2024-03-06 23:40:40 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Connect a camera (In my case i was trying a ps eye)
2. Use the camera (ie: ffplay /dev/video0)

OBSERVED RESULT
The camera is not listed on the camera indicator and remains in "No camera is in use" even when there's actual output from the camera (tested on ffplay, v4l2 and zoom)

EXPECTED RESULT
The camera indicator should show that a camera is in use.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
6.0.1
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2024-03-07 17:49:19 UTC
It detects apps using it via PipeWire. It can't detect camera use for apps that open it in a lower-level way at the moment. Making this bug a wishlist requesting that it do so.
Comment 2 Sdar 2024-03-07 17:56:52 UTC
(In reply to Nate Graham from comment #1)
> It detects apps using it via PipeWire. It can't detect camera use for apps
> that open it in a lower-level way at the moment. Making this bug a wishlist
> requesting that it do so.

Oh, didn't know that, my camera has a led that turns on when in use so it's not really bothering me but some laptops don't, and having a way to tell if the camera is recording seems like a good idea. gj with kde6 btw runs great kudos to all the team.
Comment 3 Nate Graham 2024-03-07 17:57:43 UTC
Thanks a lot for the kind words! It's nice to know the work is appreciated.
Comment 4 Nate Graham 2024-10-28 03:59:27 UTC
*** Bug 495288 has been marked as a duplicate of this bug. ***
Comment 5 Nate Graham 2024-10-28 04:00:03 UTC
*** Bug 492591 has been marked as a duplicate of this bug. ***