File: environments.md

package info (click to toggle)
obs-command-source 0.5.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: ansic: 400; python: 80; sh: 75; makefile: 21; cpp: 16
file content (19 lines) | stat: -rw-r--r-- 647 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Environment variables

This is an experimental feature for Linux and macOS. The behavior might change in future releases.
Environment variables are set when calling a process.

### `OBS_CURRENT_SCENE`
Name of the current scene.
In the command for `Activated` and `Deactivated`,
the new scene name will be set to this variable.

### `OBS_PREVIEW_SCENE`
Name of the current scene in preview.

### `OBS_SOURCE_NAME`
Name of the command source.
It is useful to set the visibility of a scene item by a combination of `OBS_CURRENT_SCENE` or `OBS_PREVIEW_SCENE`.

### `OBS_TRANSITION_DURATION`
Duration in milliseconds [ms] for the current transition.