⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
wireplumber
/
scripts
/
View File Name :
static-endpoints.lua
-- WirePlumber -- -- Copyright © 2021 Collabora Ltd. -- @author Julian Bouzas
-- -- SPDX-License-Identifier: MIT -- Receive script arguments from config.lua local endpoints_config = ... function createEndpoint (factory_name, properties) -- create endpoint local ep = SessionItem ( factory_name ) if not ep then Log.warning (ep, "could not create endpoint of type " .. factory_name) return end -- configure endpoint if not ep:configure(properties) then Log.warning(ep, "failed to configure endpoint " .. properties.name) return end -- activate and register endpoint ep:activate (Features.ALL, function (item) item:register () Log.info(item, "registered endpoint " .. properties.name) end) end for name, properties in pairs(endpoints_config) do properties["name"] = name createEndpoint ("si-audio-endpoint", properties) end