| 1 |
## The WirePlumber libcamera configuration |
| 2 |
|
| 3 |
monitor.libcamera.properties = { |
| 4 |
## The properties used when constructing the 'api.libcamera.enum.manager' plugin |
| 5 |
} |
| 6 |
|
| 7 |
monitor.libcamera.rules = [ |
| 8 |
## The list of monitor rules |
| 9 |
|
| 10 |
## This rule example allows changing properties on all libcamera devices. |
| 11 |
# { |
| 12 |
# matches = [ |
| 13 |
# { |
| 14 |
# ## This matches all cards. |
| 15 |
# device.name = "~libcamera_device.*" |
| 16 |
# } |
| 17 |
# ] |
| 18 |
# actions = { |
| 19 |
# update-props = { |
| 20 |
# device.nick = "My Device" |
| 21 |
# device.disabled = false |
| 22 |
# } |
| 23 |
# } |
| 24 |
# } |
| 25 |
|
| 26 |
## This rule example allows changing properties on all libcamera nodes. |
| 27 |
# { |
| 28 |
# matches = [ |
| 29 |
# { |
| 30 |
# ## Matches all sources. |
| 31 |
# node.name = "~libcamera_input.*" |
| 32 |
# } |
| 33 |
# { |
| 34 |
# ## Matches all sinks. |
| 35 |
# node.name = "~libcamera_output.*" |
| 36 |
# } |
| 37 |
# ] |
| 38 |
# actions = { |
| 39 |
# update-props = { |
| 40 |
# node.nick = "My Node" |
| 41 |
# priority.driver = 100 |
| 42 |
# priority.session = 100 |
| 43 |
# node.pause-on-idle = false |
| 44 |
# node.disabled = false |
| 45 |
# } |
| 46 |
# } |
| 47 |
# } |
| 48 |
] |