Configure cross-origin resource sharing in Alta Video

Last modified: Tuesday May 21, 2024.

For security reasons, Alta Video does not usually allow streaming to domains outside the control of Avigilon Alta. However, to explicitly enable cross-origin resource sharing (CORS) domains for a deployment, you can use the Alta VideoAPI to whitelist specific sites.

  • Send an HTTP PUT request to https://<serverAddress>/api/v1/config, where <serverAddress> is the deployment path.
    • For example, https://test-deployment.eu1.aware.avasecurity.com/api/v1/config
  • The request body must contain a field called "cross_origin_site_list" that defines an array of allowed domains.
  • A domain may start with a wildcard. For example, "*.a.com" will match "a.com", "b.a.com", and "c.b.a.com".

For information on how to authenticate API requests, see How to: Get started with the Alta Video API.