mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2026-07-05 00:06:16 -04:00
A libcamera camera has a set of static properties found in `Camera::properties()`. Some of the properties are already available for pipewire clients (Model, Rotation, Location), most of them are not. So serialize all properties into a strings and make them available on the pipewire device. The keys have the form "api.libcamera.property.<vendor>.<name>" and the values are intended to be valid json values, parsable by python's `json.loads()` or qt's `QJsonValue::fromJson()`. Controls of type "rectangle", "size", or "point" are not supported for now since their json forms are not self-evident. They can be added when the need arises. |
||
|---|---|---|
| .. | ||
| libcamera-device.cpp | ||
| libcamera-manager.cpp | ||
| libcamera-source.cpp | ||
| libcamera.cpp | ||
| libcamera.hpp | ||
| meson.build | ||