Comment on page

Create your own visualization

Sample Code - Vanilla Dashboard

Source code of Vanilla Dashboard to help you understand how Vanilla works. You can also customize it.

Get Restream Visualization

1. Exclude Crowd Estimation

Import visualstreamer.js, then apply nodeflux-streamer class on <div> component. This <div> component must have fixed width and height. Add stream URL to data-url attributes. Component example:
width: 569px;
height: 320px">

2. For Crowd Estimation

Import heatmap.min.js, then put with visualstreamer.js in the same folder.

How to Get Event Stream

  • Connect with WebSocket server that gets from API WebSocket
  • Response event websocket