-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Use case: define a preset for automating camera-switching in a video mixer.
Right now, the module can easily define an action that steps through a sequence of choices (for example, input sources). Videographers (at least in the GoStream FB group) want to be able to automatically "loop" through the sequence. This is "easily" done by hand in Companion using triggers, but I see no way to add it as a preset.
Put another way: I would like to have a preset button that activates a trigger. So ideally, the trigger definition would be added to the button definition. Alternatively, triggers can be defined separately. Either ways seems to present two hurdles:
- Defining the trigger in the preset
- Enabling/disabling (toggling) the trigger in the preset
Maybe something like:
presets[`Program_${src.id}`] = {
... ,
trigger: {
id: `module_xx_trigger_1`,
name: 'modulexx trigger',
events: [{timeInterval: 10}],
conditions: [],
actions: [{actionId: 'modulePGMseq', options: { ... }}],
},
steps: [
{
down: [
{
actionId: Internal:Enable_Trigger,
options: {
triggerId: `module_xx_trigger_1`,
action: 'Toggle',
},
},
],
up: [],
},
],
}example sequence:
Metadata
Metadata
Assignees
Labels
No labels
