Closed hanxiang-li closed 10 months ago
I found GetInputPropertiesListPropertyItems, this method,
obs.call('GetInputPropertiesListPropertyItems', { inputName: 'Window' + timer, propertyName: 'window' })
There's no problem with me like this
obs.call('GetInputPropertiesListPropertyItems', { inputName: 'Monitor' + timer, propertyName: 'monitor' })
This failed to obtain
obs.call('GetInputPropertiesListPropertyItems', {
inputName: 'Monitor' + timer,
propertyName: 'method'
}).then(res => {
console.log(res)
})
This is also possible
obs.call('GetInputPropertiesListPropertyItems', {
inputName: 'test',
propertyName: 'display'
}).then(res => {
console.log(res)
})
I cannot obtain it on Windows for testing, Mac can
Feature Request Type
RPC Request
Feature Request Type (Other)
Is there an API for obtaining screen lists
Requested Feature
Is there an API to obtain the values of this list? The array I obtained using GetMonitorList is as follows (是否有api获取这个列表的值?我使用 GetMonitorList 获取到的数组,是以下)
{"monitors":[{"monitorHeight":1080,"monitorIndex":0,"monitorName":"\\\\.\\DISPLAY1(0)","monitorPositionX":0,"monitorPositionY":0,"monitorWidth":1920}]}
obs.call('SetInputSettings', { inputName: 'name' , inputSettings: { capture_cursor: true, monitor_id: monitorName } })
Unable to set successfullyRequested Feature Usage Scenario
Set Video Source