1 -- V4L2 monitor config file; with selecting by default USB camera --
4 v4l2_monitor.properties = {}
7 -- An array of matches/actions to evaluate.
9 -- Rules for matching a device or node. It is an array of
10 -- properties that all need to match the regexp. If any of the
11 -- matches work, the actions are executed for the object.
14 -- This matches all cards.
15 { "device.name", "matches", "v4l2_device.*" },
18 -- Apply properties on the matched object.
20 -- ["device.nick"] = "My Device",
26 -- Matches all sources.
27 { "node.name", "matches", "v4l2_input.*" },
31 { "node.name", "matches", "v4l2_output.*" },
35 --["node.nick"] = "My Node",
36 --["priority.driver"] = 100,
37 --["priority.session"] = 100,
38 --["node.pause-on-idle"] = false,
44 { "node.name", "matches", "v4l2_input*usb*" },
48 ["priority.driver"] = 1300,
49 ["priority.session"] = 1300,
54 function v4l2_monitor.enable()
55 load_monitor("v4l2", {
56 properties = v4l2_monitor.properties,
57 rules = v4l2_monitor.rules,