src: config: rename endpoint-support to session-item-support

This commit is contained in:
Julian Bouzas 2021-03-25 15:24:11 -04:00
parent 04992f0d07
commit 32fea4057c
3 changed files with 10 additions and 10 deletions

View file

@ -1,19 +1,19 @@
-- Endpoint support config file --
-- Session Item support config file --
endpoint_support = {}
session_item_support = {}
endpoint_support.sessions = {
session_item_support.sessions = {
-- [session name] = { session properties }
["audio"] = {},
["video"] = {},
}
endpoint_support.policy = {
move = true, -- moves endpoints when metadata target.node changes
follow = true -- moves endpoints to the default device when it has changed
session_item_support.policy = {
move = true, -- moves session items when metadata target.node changes
follow = true -- moves session items to the default device when it has changed
}
function endpoint_support.enable()
function session_item_support.enable()
-- Session item factories, building blocks for the session management graph
-- Do not disable these unless you really know what you are doing
load_module("si-node")
@ -22,11 +22,11 @@ function endpoint_support.enable()
load_module("si-standard-link")
-- Create sessions statically at startup
load_script("static-sessions.lua", endpoint_support.sessions)
load_script("static-sessions.lua", session_item_support.sessions)
-- Create items for nodes that appear in the graph
load_script("create-item.lua")
-- Link endpoints to each other to make media flow in the graph
load_script("policy-endpoint.lua", endpoint_support.policy)
load_script("policy-endpoint.lua", session_item_support.policy)
end

View file

@ -1 +0,0 @@
endpoint_support.enable()

View file

@ -0,0 +1 @@
session_item_support.enable()