diff --git a/docs/generated/protocol.json b/docs/generated/protocol.json index 5ca2d0ff..98693497 100644 --- a/docs/generated/protocol.json +++ b/docs/generated/protocol.json @@ -1980,6 +1980,32 @@ ], "responseFields": [] }, + { + "description": "Gets the enable state of all audio tracks of an input.", + "requestType": "GetInputAudioTracks", + "complexity": 3, + "rpcVersion": "1", + "deprecated": false, + "initialVersion": "5.0.0", + "category": "inputs", + "requestFields": [ + { + "valueName": "inputName", + "valueType": "String", + "valueDescription": "Name of the input", + "valueRestrictions": null, + "valueOptional": false, + "valueOptionalBehavior": null + } + ], + "responseFields": [ + { + "valueName": "inputAudioTracks", + "valueType": "Object", + "valueDescription": "Object of audio tracks and associated enable states" + } + ] + }, { "description": "Gets the items of a list property from an input's properties.\n\nNote: Use this in cases where an input provides a dynamic, selectable list of items. For example, display capture, where it provides a list of available displays.", "requestType": "GetInputPropertiesListPropertyItems", @@ -3794,8 +3820,8 @@ }, { "valueName": "inputAudioTracks", - "valueType": "Array", - "valueDescription": "Array of audio tracks along with their associated enable states" + "valueType": "Object", + "valueDescription": "Object of audio tracks along with their associated enable states" } ] }, diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index 23b70108..e76e8d6e 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -1717,7 +1717,7 @@ The audio tracks of an input have changed. | Name | Type | Description | | ---- | :---: | ----------- | | inputName | String | Name of the input | -| inputAudioTracks | Array<Boolean> | Array of audio tracks along with their associated enable states | +| inputAudioTracks | Object | Object of audio tracks along with their associated enable states | --- @@ -2092,6 +2092,7 @@ Studio mode has been enabled or disabled. - [SetInputAudioSyncOffset](#setinputaudiosyncoffset) - [GetInputAudioMonitorType](#getinputaudiomonitortype) - [SetInputAudioMonitorType](#setinputaudiomonitortype) + - [GetInputAudioTracks](#getinputaudiotracks) - [GetInputPropertiesListPropertyItems](#getinputpropertieslistpropertyitems) - [PressInputPropertiesButton](#pressinputpropertiesbutton) - [Transitions](#transitions) @@ -3302,6 +3303,30 @@ Sets the audio monitor type of an input. --- +### GetInputAudioTracks + +Gets the enable state of all audio tracks of an input. + +- Complexity Rating: `3/5` +- Latest Supported RPC Version: `1` +- Added in v5.0.0 + + +**Request Fields:** + +| Name | Type | Description | Value Restrictions | ?Default Behavior | +| ---- | :---: | ----------- | :----------------: | ----------------- | +| inputName | String | Name of the input | None | N/A | + + +**Response Fields:** + +| Name | Type | Description | +| ---- | :---: | ----------- | +| inputAudioTracks | Object | Object of audio tracks and associated enable states | + +--- + ### GetInputPropertiesListPropertyItems Gets the items of a list property from an input's properties.