# OBS Studio

> Read OBS Studio status and change scenes and audio mute settings.

App · 20 actions. Web page: https://docs.lodol.com/docs/integrations/obs

## Actions

### Get current program scene

Get current program scene.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "currentProgramSceneName": "example",
    "currentProgramSceneUuid": "example",
    "sceneName": "example",
    "sceneUuid": "example"
  }
}
```

### Get current scene transition

Get current scene transition.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "transitionConfigurable": true,
    "transitionDuration": 1,
    "transitionFixed": true,
    "transitionKind": "example",
    "transitionName": "example",
    "transitionSettings": {},
    "transitionUuid": "example"
  }
}
```

### Get OBS statistics

Get OBS statistics.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "activeFps": 1,
    "availableDiskSpace": 1,
    "averageFrameRenderTime": 1,
    "cpuUsage": 1,
    "memoryUsage": 1,
    "outputSkippedFrames": 1,
    "outputTotalFrames": 1,
    "renderSkippedFrames": 1,
    "renderTotalFrames": 1,
    "webSocketSessionIncomingMessages": 1,
    "webSocketSessionOutgoingMessages": 1
  }
}
```

### Get OBS version

Get OBS version.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "availableRequests": [
      "example"
    ],
    "obsVersion": "example",
    "obsWebSocketVersion": "example",
    "platform": "example",
    "platformDescription": "example",
    "rpcVersion": 1,
    "supportedImageFormats": [
      "example"
    ]
  }
}
```

### Get recording status

Get recording status.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "outputActive": true,
    "outputBytes": 1,
    "outputDuration": 1,
    "outputPaused": true,
    "outputTimecode": "example"
  }
}
```

### Get replay buffer status

Get replay buffer status.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "outputActive": true
  }
}
```

### Get stream status

Get stream status.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "outputActive": true,
    "outputBytes": 1,
    "outputCongestion": 1,
    "outputDuration": 1,
    "outputReconnecting": true,
    "outputSkippedFrames": 1,
    "outputTimecode": "example",
    "outputTotalFrames": 1
  }
}
```

### Get video settings

Get video settings.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "baseHeight": 1,
    "baseWidth": 1,
    "fpsDenominator": 1,
    "fpsNumerator": 1,
    "outputHeight": 1,
    "outputWidth": 1
  }
}
```

### Get virtual camera status

Get virtual camera status.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "outputActive": true
  }
}
```

### List input kinds

List input kinds.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "inputKinds": [
      "example"
    ]
  }
}
```

### List inputs

List inputs.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "inputs": [
      {
        "inputName": "example"
      }
    ]
  }
}
```

### List outputs

List outputs.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "outputs": [
      {}
    ]
  }
}
```

### List profiles

List profiles.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "currentProfileName": "example",
    "profiles": [
      "example"
    ]
  }
}
```

### List scene collections

List scene collections.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "currentSceneCollectionName": "example",
    "sceneCollections": [
      "example"
    ]
  }
}
```

### List scene groups

List scene groups.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "groups": [
      "example"
    ]
  }
}
```

### List scene transitions

List scene transitions.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "currentSceneTransitionKind": "example",
    "currentSceneTransitionName": "example",
    "currentSceneTransitionUuid": "example",
    "transitions": [
      {}
    ]
  }
}
```

### List scenes

List scenes.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "currentPreviewSceneName": "example",
    "currentPreviewSceneUuid": "example",
    "currentProgramSceneName": "example",
    "currentProgramSceneUuid": "example",
    "scenes": [
      {
        "sceneName": "example"
      }
    ]
  }
}
```

### List transition kinds

List transition kinds.

**Inputs**: None.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {
    "transitionKinds": [
      "example"
    ]
  }
}
```

### Set input mute

Set input mute.

**Inputs**

- Input name (`input_name`, text, required): Input name.
- Input muted (`input_muted`, true/false, required): Input muted.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {}
}
```

### Set program scene

Set program scene.

**Inputs**

- Scene name (`scene_name`, text, required): Scene name.

**Outputs**

- `data` (object): The response from OBS Studio.

**Example output**

```json
{
  "data": {}
}
```
