Pearl mini / Pearl2 API layout input source switching

Hi,
Is there a command in the API to switch input source inside a layout, or do i have to create as many layout?
:point_right: in this project, 3 cameras to switch, 20 participant with their name on screen, so 20 layouts with independant texts layer, please don’t tell me i have to create 60 layout to switch the 3 cameras (plus system automation porgramming!!!) :scream:

:point_right:Is there a layout limit? do a large number of layout slows the Pearl?

Thank you :slight_smile:

There are no API commands to change sources within a layout unfortunately.

But if text is a key component here you may just want to use the text variables, then update these. This way you would only have to have the 3 camera layouts. This is described in the user guide here: https://www.epiphan.com/userguides/pearl-2/Content/UserGuides/Streaming/capture/customSystemVarsTxtOverlay.htm