privacy: default to ignoring all stream.monitor pw nodes

This commit is contained in:
Gregor Kleen
2024-08-20 22:09:22 +02:00
committed by Sonter
parent 703be13b00
commit 831602a913
4 changed files with 11 additions and 0 deletions

View File

@ -49,6 +49,8 @@ void PrivacyNodeInfo::handleNodeEventInfo(const struct pw_node_info *info) {
pipewire_access_portal_app_id = item->value;
} else if (strcmp(item->key, PW_KEY_APP_ICON_NAME) == 0) {
application_icon_name = item->value;
} else if (strcmp(item->key, "stream.monitor") == 0) {
is_monitor = strcmp(item->value, "true") == 0;
}
}
}