Access-Control-Allow-Origin
The value to set for the Access-Control-Allow-Origin
response header, when the MJPEG stream is requested. Media Server does not set this header by default.
The Media Server graphical user interface sets this parameter automatically in session configurations that it generates. You might need to set this parameter so that a front-end can display video from the MJPEG engine. For example, if your front-end is installed on a server analysis1.example.com
you might configure the following:
Access-Control-Allow-Origin=http://analysis1.example.com:8080
Alternatively, you can permit access from any origin by setting:
Access-Control-Allow-Origin=*
Type: | String |
Default: | |
Required: | No |
Configuration Section: | TaskName |
Example: | Access-Control-Allow-Origin=*
|
See Also: |