obs-websocket icon indicating copy to clipboard operation
obs-websocket copied to clipboard

Feature Request: Add Scene Projector

Open camdarley opened this issue 1 year ago • 0 comments

Feature Request Type

RPC Request

Feature Request Type (Other)

No response

Requested Feature

Right now it's possible to open either a source projector or a videoMix projector, with type as Preview, Program or multiView. But OBS also provide a "Scene" projector in the available types. All it would require os to add a Scene in the mix types. Also, as OBS as a unique entry for projecting: obs_frontend_open_projector which handle every type... wouldn't be more efficient to have only one request: OpenProjector like this:


OpenProjector

Opens a projector for a specific output video mix.

Mix types:

  • OBS_WEBSOCKET_VIDEO_MIX_TYPE_PREVIEW
  • OBS_WEBSOCKET_VIDEO_MIX_TYPE_PROGRAM
  • OBS_WEBSOCKET_VIDEO_MIX_TYPE_MULTIVIEW
  • OBS_WEBSOCKET_VIDEO_MIX_TYPE_SOURCE
  • OBS_WEBSOCKET_VIDEO_MIX_TYPE_SCENE

Request Fields:

Name Type Description Value Restrictions ?Default Behavior
videoMixType String Type of mix to open None N/A
?sourceName String Name of the source or scene to open a projector for None Unknown
?monitorIndex Number Monitor index, use GetMonitorList to obtain index None -1: Opens projector in windowed mode
?projectorGeometry String Size/Position data for a windowed projector, in Qt Base64 encoded format. Mutually exclusive with monitorIndex None N/A

Requested Feature Usage Scenario

My app allow user to launch scenarios which project movies on different outputs. I can use OpenSourceProjector, but then I can't add effects and filters before projecting the sources. By using a scene projector, I can add effects before projecting them.

camdarley avatar Dec 02 '24 14:12 camdarley