fillLayout

Displays cameras in a layout.

Note: This function requires an API license.

Displays a list of cameras in a layout. The cameras are displayed in the panels of the layout identified by layoutid. If more cameras then panels are supplied the surplus of cameras is not displayed. If less cameras then panels are supplied the surplus of panels is not changed. To blank these panels, a cameraid of 0 must be supplied.

The system (set of servers and viewers) searches all viewers to find where the layout is displayed. If one or more displayed layouts are found, the panels on this layout, starting with panelindex 0, are used to display the video. Only panels that are set to display video are used. Other panels, like event panels, are skipped.

If divaid is given, the command will only by send to the viewer with that id.

Request

command=fillLayout&layoutid=[UID]&cameraviews=[camviews]&divaid=[UID]
parameter type remarks
layoutid [UID] Unique layout id.
cameraviews [camviews] Comma separated list of camera views.
divaid [UID] unique id.

Response

error code description remarks
0 Ok Ok, no error

See Also

Changelog

  • 2.3.1   – added divaid.
  • 2.1.2   – Fixed dispatching to viewers.
  • 1.11.1 – CameraView extended with left, top, right and bottom parameters.
  • 1.10.1 – Added.