diff --git a/docs/generated/protocol.json b/docs/generated/protocol.json index 41cfe141..6349c253 100644 --- a/docs/generated/protocol.json +++ b/docs/generated/protocol.json @@ -1225,7 +1225,7 @@ { "description": "Gets the current directory that the record output is set to.", "requestType": "GetRecordDirectory", - "complexity": 1, + "complexity": 2, "rpcVersion": "1", "deprecated": false, "initialVersion": "5.0.0", @@ -1239,6 +1239,26 @@ } ] }, + { + "description": "Sets the current directory that the record output writes files to.", + "requestType": "SetRecordDirectory", + "complexity": 2, + "rpcVersion": "1", + "deprecated": false, + "initialVersion": "5.3.0", + "category": "config", + "requestFields": [ + { + "valueName": "recordDirectory", + "valueType": "String", + "valueDescription": "Output directory", + "valueRestrictions": null, + "valueOptional": false, + "valueOptionalBehavior": null + } + ], + "responseFields": [] + }, { "description": "Gets an array of all of a source's filters.", "requestType": "GetSourceFilterList", diff --git a/docs/generated/protocol.md b/docs/generated/protocol.md index 270dde52..df88706f 100644 --- a/docs/generated/protocol.md +++ b/docs/generated/protocol.md @@ -2543,6 +2543,7 @@ communication is desired. - [GetStreamServiceSettings](#getstreamservicesettings) - [SetStreamServiceSettings](#setstreamservicesettings) - [GetRecordDirectory](#getrecorddirectory) + - [SetRecordDirectory](#setrecorddirectory) - [Sources Requests](#sources-requests) - [GetSourceActive](#getsourceactive) - [GetSourceScreenshot](#getsourcescreenshot) @@ -3120,7 +3121,7 @@ Note: Simple RTMP settings can be set with type `rtmp_custom` and the settings f Gets the current directory that the record output is set to. -- Complexity Rating: `1/5` +- Complexity Rating: `2/5` - Latest Supported RPC Version: `1` - Added in v5.0.0 @@ -3130,6 +3131,22 @@ Gets the current directory that the record output is set to. | ---- | :---: | ----------- | | recordDirectory | String | Output directory | +--- + +### SetRecordDirectory + +Sets the current directory that the record output writes files to. + +- Complexity Rating: `2/5` +- Latest Supported RPC Version: `1` +- Added in v5.3.0 + +**Request Fields:** + +| Name | Type | Description | Value Restrictions | ?Default Behavior | +| ---- | :---: | ----------- | :----------------: | ----------------- | +| recordDirectory | String | Output directory | None | N/A | + ## Sources Requests ### GetSourceActive