> For the complete documentation index, see [llms.txt](https://docs.vega365.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.vega365.com/surestream/smart-client/setting-up-views.md).

# Setting Up SureStream Views

An administrator creates SureStream views once, in each role's **shared view group**, while the XProtect servers are running normally. Users in that role then see these views on any Smart Client PC that has SureStream installed, with the cameras they are allowed to view. If the servers fail, operators switch to a SureStream view and keep watching live video.

{% hint style="info" %}
Name the views clearly (for example *SureStream – Lobby*) so operators can find them quickly during an outage. A SureStream view can mirror a normal XProtect view, tile for tile.
{% endhint %}

{% stepper %}
{% step %}

### Create a view

* Log in to the Smart Client as an administrator and click **Setup**.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-e82bfa2bdf1cbbb1bc054ba02136492175cc5917%2Finstallation-and-configuration-guide-34.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Under **Views**, select the role's shared view group (or click **New Group**).

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-6ea75ce3f0d4ca57fea6f5be47e9f93a3c30e6a3%2Finstallation-and-configuration-guide-35.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Click **Create New View**, name it and choose a layout.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-f5addd45c57e36e683fa0041b7c250ef295ac2b7%2Finstallation-and-configuration-guide-36.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Add the SureStream view item

* In the **System Overview**, find **SureStream** (under MIP SDK Tools).

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-3cd53d3c9261fe360437e2717789c74d3a591ce7%2Finstallation-and-configuration-guide-37.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>

* Drag **SureStream** into each tile of the view (for a 2×2 view, drag it into all four tiles).

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-2b05304e2bceb4f172fab8090b9287449a4e147c%2Finstallation-and-configuration-guide-38.png?alt=media" alt="" width="563"><figcaption></figcaption></figure>
{% endstep %}

{% step %}

### Choose a camera for each tile

There are two ways:

* **In Setup, the Properties pane.** Select a SureStream tile; the **SureStream camera** properties show the camera tree (site > recording server > camera) with a search box. Double-click a camera to show it in the selected tile.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-3dcda78f4ccc7c232f7e53825fb16e1f12136043%2Fsc-properties-pane.png?alt=media" alt=""><figcaption><p>Setup: the SureStream camera properties of the selected tile</p></figcaption></figure>

* **The camera button** at the top left of a tile (in Setup or in Live). It opens **Choose a camera**: search by name or address, then double-click a camera.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-69729180247f2211cd12c7ee5e9cd80ccbf57af4%2Fsc-choose-a-camera.png?alt=media" alt=""><figcaption><p>Choose a camera (the camera button at the top left of a tile)</p></figcaption></figure>

Only cameras in SureStream that this user may view are listed, and only those that can stream in the camera's streaming mode. A camera added to XProtect after the user logged in appears after they log in again; the dialog's footer says how many cameras aren't available to this login.
{% endstep %}

{% step %}

### Check the view

Click **Setup** again to leave Setup. Each tile now plays live video straight from its camera, not through the recording server.

<figure><img src="https://2606467887-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FrW97Kdzpc3CRKor6jdzu%2Fuploads%2Fgit-blob-2c10015353c14a64c648aaf7755901e986b5251e%2Fsc-view-live.png?alt=media" alt=""><figcaption><p>A SureStream view in Live: every tile streams directly from its camera</p></figcaption></figure>
{% endstep %}
{% endstepper %}

{% hint style="warning" %}
Set the Smart Client **token timeout** in XProtect to at least the time it would take to restore the management server. When the management server is down, the Smart Client can't renew its login and logs out when the token runs out (4 hours by default), and SureStream stops with it. See [Settings > Token timeout](https://docs.vega365.com/surestream/management-client/settings.md#token-timeout).
{% endhint %}
