obsproject / obs-websocket

Remote-control of OBS Studio through WebSocket
GNU General Public License v2.0
3.79k stars 701 forks source link

Feature Request: Add GetSourceFilterKindList and GetFilterKindList requests #1198

Closed jdudetv closed 5 months ago

jdudetv commented 5 months ago

Feature Request Type

RPC Request

Feature Request Type (Other)

No response

Requested Feature

Add a request that takes in Source / Input name and gives all the filter kinds that can be applied to that input kind / source and a request that just gives a list of all FilterKinds currently available in OBS.

Requested Feature Usage Scenario

When applying a filter to a source having a list of all compatible filter kinds before applying the filter. Having the full FilterKindsList would help in just having a way to get all filter kinds that are available for the entire app if stuff isn't documented by plugins etc.

Brendonovich commented 5 months ago

GetSourceFilterKindList will probably need to use a copy of filter_compatible from OBS, and it might be a good idea to use the same logic inside CreateSourceFilter to ensure the provided filter kind is compatible with the provided source.

tt2468 commented 5 months ago

Added a note to implement compatibility checks for filters. Not in scope for this feature request though