privacy: stop counting screen captures as camera use (#3428)

Apps capturing the screen through PipeWire, such as OBS, create a live
video input stream, which the camera check counted as camera use. Skip
streams tagged with the Screen media role.
This commit is contained in:
Mattias
2026-09-15 15:01:06 -04:00
committed by GitHub
parent 447997b9ec
commit 6ecdd6d45d
+1 -1
View File
@@ -45,7 +45,7 @@ Singleton {
for (let i = 0; i < Pipewire.nodes.values.length; i++) {
const node = Pipewire.nodes.values[i]
if (!node || !node.ready) {
if (!node || !node.ready || node.properties?.["media.role"] === "Screen") {
continue
}