@@ -355,7 +355,7 @@ export interface OBSEventTypes {
355
355
/**
356
356
* Array of filter objects
357
357
*/
358
- filters : JsonArray ;
358
+ filters : JsonObject [ ] ;
359
359
} ;
360
360
SourceFilterCreated : {
361
361
/**
@@ -548,7 +548,7 @@ export interface OBSEventTypes {
548
548
/**
549
549
* Array of active inputs with their associated volume levels
550
550
*/
551
- inputs : JsonArray ;
551
+ inputs : JsonObject [ ] ;
552
552
} ;
553
553
MediaInputPlaybackStarted : {
554
554
/**
@@ -658,7 +658,7 @@ export interface OBSEventTypes {
658
658
/**
659
659
* Array of scene item objects
660
660
*/
661
- sceneItems : JsonArray ;
661
+ sceneItems : JsonObject [ ] ;
662
662
} ;
663
663
SceneItemEnableStateChanged : {
664
664
/**
@@ -758,7 +758,7 @@ export interface OBSEventTypes {
758
758
/**
759
759
* Updated array of scenes
760
760
*/
761
- scenes : JsonArray ;
761
+ scenes : JsonObject [ ] ;
762
762
} ;
763
763
CurrentSceneTransitionChanged : {
764
764
/**
@@ -1053,6 +1053,20 @@ export interface OBSRequestTypes {
1053
1053
*/
1054
1054
overlay ?: boolean ;
1055
1055
} ;
1056
+ SetSourceFilterEnabled : {
1057
+ /**
1058
+ * Name of the source the filter is on
1059
+ */
1060
+ sourceName : string ;
1061
+ /**
1062
+ * Name of the filter
1063
+ */
1064
+ filterName : string ;
1065
+ /**
1066
+ * New enable state of the filter
1067
+ */
1068
+ filterEnabled : boolean ;
1069
+ } ;
1056
1070
GetVersion : never ;
1057
1071
GetStats : never ;
1058
1072
BroadcastCustomEvent : {
@@ -1436,6 +1450,13 @@ export interface OBSRequestTypes {
1436
1450
* Name of the source to find
1437
1451
*/
1438
1452
sourceName : string ;
1453
+ /**
1454
+ * Number of matches to skip during search. >= 0 means first forward. -1 means last (top) item
1455
+ *
1456
+ * @restrictions >= -1
1457
+ * @defaultValue 0
1458
+ */
1459
+ searchOffset ?: number ;
1439
1460
} ;
1440
1461
CreateSceneItem : {
1441
1462
/**
@@ -1840,6 +1861,7 @@ export interface OBSRequestTypes {
1840
1861
*/
1841
1862
inputName : string ;
1842
1863
} ;
1864
+ GetMonitorList : never ;
1843
1865
}
1844
1866
1845
1867
export interface OBSResponseTypes {
@@ -1934,7 +1956,7 @@ export interface OBSResponseTypes {
1934
1956
/**
1935
1957
* Array of filters
1936
1958
*/
1937
- filters : JsonArray ;
1959
+ filters : JsonObject [ ] ;
1938
1960
} ;
1939
1961
GetSourceFilterDefaultSettings : {
1940
1962
/**
@@ -1965,6 +1987,7 @@ export interface OBSResponseTypes {
1965
1987
} ;
1966
1988
SetSourceFilterIndex : undefined ;
1967
1989
SetSourceFilterSettings : undefined ;
1990
+ SetSourceFilterEnabled : undefined ;
1968
1991
GetVersion : {
1969
1992
/**
1970
1993
* Current OBS Studio version
@@ -1986,6 +2009,14 @@ export interface OBSResponseTypes {
1986
2009
* Image formats available in `GetSourceScreenshot` and `SaveSourceScreenshot` requests.
1987
2010
*/
1988
2011
supportedImageFormats : string [ ] ;
2012
+ /**
2013
+ * Name of the platform. Usually `windows`, `macos`, or `ubuntu` (linux flavor). Not guaranteed to be any of those
2014
+ */
2015
+ platform : string ;
2016
+ /**
2017
+ * Description of the platform, like `Windows 10 (10.0)`
2018
+ */
2019
+ platformDescription : string ;
1989
2020
} ;
1990
2021
GetStats : {
1991
2022
/**
@@ -2053,7 +2084,7 @@ export interface OBSResponseTypes {
2053
2084
/**
2054
2085
* Array of inputs
2055
2086
*/
2056
- inputs : JsonArray ;
2087
+ inputs : JsonObject [ ] ;
2057
2088
} ;
2058
2089
GetInputKindList : {
2059
2090
/**
@@ -2168,7 +2199,7 @@ export interface OBSResponseTypes {
2168
2199
/**
2169
2200
* Array of items in the list property
2170
2201
*/
2171
- propertyItems : JsonArray ;
2202
+ propertyItems : JsonObject [ ] ;
2172
2203
} ;
2173
2204
PressInputPropertiesButton : undefined ;
2174
2205
GetMediaInputStatus : {
@@ -2255,13 +2286,13 @@ export interface OBSResponseTypes {
2255
2286
/**
2256
2287
* Array of scene items in the scene
2257
2288
*/
2258
- sceneItems : JsonArray ;
2289
+ sceneItems : JsonObject [ ] ;
2259
2290
} ;
2260
2291
GetGroupItemList : {
2261
2292
/**
2262
2293
* Array of scene items in the group
2263
2294
*/
2264
- sceneItems : JsonArray ;
2295
+ sceneItems : JsonObject [ ] ;
2265
2296
} ;
2266
2297
GetSceneItemId : {
2267
2298
/**
@@ -2329,7 +2360,7 @@ export interface OBSResponseTypes {
2329
2360
/**
2330
2361
* Array of scenes
2331
2362
*/
2332
- scenes : JsonArray ;
2363
+ scenes : JsonObject [ ] ;
2333
2364
} ;
2334
2365
GetGroupList : {
2335
2366
/**
@@ -2444,7 +2475,7 @@ export interface OBSResponseTypes {
2444
2475
/**
2445
2476
* Array of transitions
2446
2477
*/
2447
- transitions : JsonArray ;
2478
+ transitions : JsonObject [ ] ;
2448
2479
} ;
2449
2480
GetCurrentSceneTransition : {
2450
2481
/**
@@ -2493,4 +2524,10 @@ export interface OBSResponseTypes {
2493
2524
OpenInputPropertiesDialog : undefined ;
2494
2525
OpenInputFiltersDialog : undefined ;
2495
2526
OpenInputInteractDialog : undefined ;
2527
+ GetMonitorList : {
2528
+ /**
2529
+ * a list of detected monitors with some information
2530
+ */
2531
+ monitors : JsonObject [ ] ;
2532
+ } ;
2496
2533
}
0 commit comments