Creates a new input, adding it as a scene item to the specified scene.
Name | Type | Required | Description |
---|---|---|---|
sceneName |
String |
Name of the scene to add the input to as a scene item | |
inputName |
String |
Name of the new input to created | |
inputKind |
String |
The kind of input to be created | |
inputSettings |
Object |
Settings object to initialize the input with | |
sceneItemEnabled |
Boolean |
Whether to set the created scene item to enabled or disabled |
Name | Type | Description |
---|---|---|
obsRaw.sceneItemId |
Number |
ID of the newly created scene item |
Complexity Rating: | |
Latest Supported RPC Version: | 1 |
Added in | v5.0.0 |
{
"requestType": "CreateInput",
"requestData": {
"sceneName": "",
"inputName": "",
"inputKind": "",
"sceneItemEnabled": ,
"inputSettings": {
"": ""
}
}
}