Brief instruction
Smarty supports work with cameras in the same way as the work of channels. In order for the camera to appear in the portal, it is necessary to perform the following algorithm of actions:
- Create a category of cameras. To do this, go to the Smarty section «Content settings» — «Camera Categories » and press the button «Create ».
- In the category creation form, specify the name of the category and the city corresponding to this category (the city is selected from the list of available cities previously created in the Smarty system admin), save the category.
- Go to «Content Settings» — «Cameras» and press the button «Create ».
- In the form of the camera, indicate the following data:
- Name of the chamber;
- Camera category;
- The tariff plan within which the camera will be available (there is another way to provide access to the camera, about this method below).
- Specify streaming services and channel URL prefix
or
Specify streaming service type «Multicast» and Multicast channel address
or
Specify a direct stream URL. - If an archive is configured for the camera, you also need to specify the EPG transmission program (you can use the transmission program that is generated using the dummy-source source, more details below).
After all the above actions, the camera can be considered configured and viewable in the portal.
More information about the settings of the categories of cameras, the cameras themselves, as well as the possibility of linking the camera to an account without a tariff plan can be found below:
Categories of cameras
To create a category of cameras need to go to the section «Content settings» — «Camera Categories» and press the button «Create ». Next, the form of creating / editing the category of cameras will open, in which the following data must be specified:
Name of category — the name of the camera category that will be displayed in the portal. Any name can be specified, however, for convenience, it is recommended to indicate in the name the area or address where the cameras are installed.
Town — the name of the city where the cameras are installed. The name of the city must correspond to the name of the city previously created in the Smarty system admin.
Position on the list after — sorting parameter. It can be relevant when creating a new category in order to immediately change the sorting of this category.

Once all categories are created, you can start creating the cameras themselves:
Cameras
To create cameras, you need to go to the section «Content settings» — «Camera» and press the button «Create ». Next, the camera creation/editing form will open, in which you need to specify the camera parameters.
Block «Information about the camera »
The following parameters can be specified in this block:
Title — name of the camera. Mandatory parameter. This name will be displayed in the portal.
EPG transmission programme — camera transmission program is required if there are archival records from cameras. You can use a transmission program created using a dummy source. In this case, all records will be broken at intervals of 1 hour.
Category/Additional categories Using these parameters, the category of the camera is determined. The categories of cameras, as well as the process of their creation, were described above.
Position on the list after — sorting parameter. Can be relevant for newly created cameras so they can be placed in sorting beforehand. Without specifying the position, the camera will be added last to the list.
Note — field for notes. The portal doesn't apply anywhere.

Block «Availability options»
Tick «Included » — with the help of this tick, you can disable access to the camera regardless of other parameters.
Tariff packages — here you can specify under what tariff plans this camera will be available. There is another way to provide access to the camera (see block) «Tie the camera to the account »).

Block «Broadcasting options »
Streaming services — here you can specify streaming services, which are broadcasting the camera and writing archives.
URL-prefix — needed to substitute the mask of streaming services.
Multicast address — if the camera broadcasts via Multicast, you can specify the address in this line (you also need to create a streaming service like «Multicast» and link it to this camera).
Multicast address for recording — in this field you can specify the Multicast address for recording the stream. This parameter may be relevant if different addresses are used for online broadcasting and recordings.
Options — these parameters are needed to transfer additional parameters to the URL mask.
Direct stream URL — allows you to transfer the direct URL of the camera stream. If a direct stream URL is specified, all other broadcast parameters will be ignored.
Redefine the ID for video servers — allows you to override the camera id for, for example, a server with archive transmission records.

Linking the camera to the account without a tariff plan
In addition to providing access to the camera using a tariff plan, the camera can be linked directly to the account. To do this, the following algorithm of actions must be performed:
- Open the screen «Subscribers» — «Accounts»;
- Select the appropriate account;
- Find the block «Availability options»
- In the line «Cameras» enter the name of the camera and select the desired camera from the drop-down list.
Thus, you can link the camera (or several cameras) to a specific account without the need to tie the camera to the tariff plan with the subsequent connection of this tariff plan to the account.

