Documentation for Axxon One 2.0. Documentation for other versions of Axxon One is available too.

Previous page Sharing layouts in the Web-Client  Real-time video surveillance in the Web-Client Next page

Using the Web-Client, you can create and open temporary layouts with cameras via the browser address bar. To do this, you can use the following query:

http://<server IP>/?cams=CAM_1,...,CAM_N&[mode=live|arch|search]&[hideTopBar=true|false]&[resolution=0,1,auto]
Parameter name
RequiredDescription
server IPYesServer IP address
camsName of the camera that is present on the layout
modeNo

Layout view mode:

  • live—real time mode (default);
  • arch—archive mode;
  • search—search mode
hideTopBar

Top panel of the Web-Client:

  • true—hidden;
  • false—displayed
resolution

Videostream:

  • 0—high quality;
  • 1—low quality;
  • auto—auto (GreenStream, used by default)

An example request for creating and opening a temporary layout with two cameras in real time without displaying the top panel:

http://127.0.0.1/?mode=live&hideTopBar=true&cams=hosts/DESKTOP-O123/DeviceIpint.1/SourceEndpoint.video:0:0,hosts/DESKTOP-O123/DeviceIpint.2/SourceEndpoint.video:0:0

An example request for creating and opening a temporary layout with three cameras in real time, where: 

  • the first camera has a high quality video stream;
  • the second camera has an auto video stream; 
  • the third camera has a low quality video stream.
http://127.0.0.1/?mode=live&hideTopBar=false&cams=hosts/DESKTOP-O123/DeviceIpint.1/SourceEndpoint.video:0:0,hosts/DESKTOP-O123/DeviceIpint.2/SourceEndpoint.video:0:0,hosts/DESKTOP-O123/DeviceIpint.3/SourceEndpoint.video:0:0&resolution=0,auto,1

You can also create and open a layout via the AxxonNet service. To do this, it is necessary to first connect the Axxon One domain to AxxonNet (see Configuring a domain in AxxonNet):

https://<webClientURL in cloud>/?authToken=<accessToken>&cams=CAM_1,...,CAM_N&[mode=live|arch|search]&[hideTopBar=true|false]
Parameter name
RequiredDescription
webClientURL in cloudYes

Web-Client URL in the cloud service. To get the Web-Client URL, do the following:

  1. Using the browser, open the Web-Client in AxxonNet.
  2. Press the F12 key to open the developer console.
  3. In the developer console, open the Network tab → groupsResponse.
  4. Find the webClientURL field.
  5. Copy Web-Client URL
authToken

Authorization token. This parameter specifies the access token URL.

To get the token, do the following:

  1. Using the browser, open the Web-Client in AxxonNet.
  2. Press the F12 key to open the developer console.
  3. In the developer console, open the Application tab → StorageLocal storagehttps://axxonnet.com/.
  4. Find the accessToken key.
  5. Copy the key value

An example of creating and opening a layout via AxxonNet with two cameras in the archive mode:

https://axxonnet.com/minio/35436_0_co1ri88u45045635cs5g/webclient/?mode=arch&cams=hosts/DESKTOP-O123/DeviceIpint.1/SourceEndpoint.video:0:0,hosts/DESKTOP-0OFNEM9/DeviceIpint.2/SourceEndpoint.video:0:0&authToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJVc2VySUQiOjIxNTI1LCJVc2VyTmFtZSI6ImFsZXhmb25vdjUwQGdtYWlsLmNvbSIsIkNsaWVudElEIjoiY2M5YjQ4MzQwOWZkNTdhMWVlNjA4ZjE5MWRiZDkxOWIiLCJUeXBlIjoiYWNjZXNzVG9rZW4iLCJWZXJzaW9uIjoidjIiLCJDcmVhdGVkQXQiOiIyMDI0LTAzLTI3VDEwOjQyOjM4LjIzMjMwOTc5N1oiLCJleHAiOjE3MTE2MjI1NTgsImlhdCI6MTcxMTUzNjE1OCwiaXNzIjoiQ2xvdWQifQ.Sl5uhUWB7FDc-EtgzPaOIU082iD2PCtROr9JhbEM7CQ


  • No labels