__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
-- WirePlumber -- -- Copyright © 2023 Collabora Ltd. -- @author Ashok Sidipotu <[email protected]> -- -- SPDX-License-Identifier: MIT cutils = require ("common-utils") log = Log.open_topic ("s-monitors-libcamera") config = {} config.properties = Conf.get_section_as_properties ("monitor.libcamera.properties") function createCamDevice (parent, id, type, factory, properties) source = source or Plugin.find ("standard-event-source") local e = source:call ("create-event", "create-libcamera-device", parent, nil) e:set_data ("device-properties", properties) e:set_data ("factory", factory) e:set_data ("device-sub-id", id) EventDispatcher.push_event (e) end monitor = SpaDevice ("api.libcamera.enum.manager", config.properties) if monitor then monitor:connect ("create-object", createCamDevice) monitor:activate (Feature.SpaDevice.ENABLED) else log:notice ("PipeWire's libcamera SPA plugin is missing or broken. " .. "Some camera types may not be supported.") end
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| create-device.lua | File | 1.56 KB | 0644 |
|
| create-node.lua | File | 1.21 KB | 0644 |
|
| enumerate-device.lua | File | 1007 B | 0644 |
|
| name-device.lua | File | 1.34 KB | 0644 |
|
| name-node.lua | File | 2.79 KB | 0644 |
|