Options
All
  • Public
  • Public/Protected
  • All
Menu

Module components/grid

Index

Type aliases

Functions

Type aliases

gridProps

gridProps: object

Properties of the grid component. Contains which stream is the primary stream, displayed large at the top, contains a list of all video streams to display, and which boundingboxes/indicators to draw.

Type declaration

  • hiddenObjectTypes: string[]
  • indicator: indicator
  • Optional primary?: string
  • setPrimary: function
      • (sourceId: string): void
      • Parameters

        • sourceId: string

        Returns void

  • sources: stream[]

Functions

Grid

  • Component that creates a videoplayer and overlay for drawing on that player for each camera source defined in the config file.

    Parameters

    • props: gridProps

      Properties containing streams and filters.

    Returns Element

    A grid of camera streams with corresponding overlay.

Made by Horyus. Documentation generated by TypeDoc.