Live streams
Camera sync
Show a camera in a worksheet and line its picture up with your data.
Add a Camera panel
- In a worksheet, open the Charts menu and add a Camera panel.
- In the panel’s settings, choose the camera.
- The sync stream defaults to the camera’s own stream (“Its stream (default)”). Choose another data stream only to sync with that one.
- Set the offset (see below) and Fit or Fill. Fit shows the whole frame; Fill crops it to cover the panel.
Live and synced
In live mode the panel shows the newest frame.
It shows the frame at one instant in two cases: you hover a multi-band chart (the shared cursor), or you fix the X range. The shared cursor belongs to the worksheet. From code you set it with setCursorX, see Engine.
Syncing needs a time X axis.
Exact and Approx.
The panel shows a sync badge.
| Badge | Meaning |
|---|---|
| Exact | The data stream’s times are Unix seconds, for example Python’s time.time(). They are matched to frame times directly. |
| Approx. | Any other time base. The alignment is estimated from when samples arrived, so it is off by about the network delay. |
Use the offset to correct what is left. It goes ±10 seconds in 100 ms steps. Move it until an event in the chart and in the picture line up.
Recordings and walls
When the worksheet shows a cloud recording, the panel plays that camera’s recording instead of live video. It shows the frame at the cursor, or at the end of the X range, or at the start of the recording. The overlay says “Recording” and the Exact or Approx. badge works as above. See Cameras.
A panel that shows several cameras (a wall) uses the same cursor, range or recording position for every tile, so all tiles show the same instant. The panel’s offset applies to every tile.
The buffer
Frames are kept in memory in the viewer’s browser: 128 MB, about 4 minutes at 4 Mbit/s. A cursor or X range older than that shows “Not buffered”.