Wowza Community

Changing Default CORS Headers to Specify a Domain

How do I change the default CORS Headers to only allow streaming from a specific domain using Wowza Streaming Engine 4.8.5?

My reference is this tutorial: https://www.wowza.com/docs/how-to-enable-cross-origin-resource-sharing-cors-for-http-based-streams

For example, I want to change this:

Access-Control-Allow-Origin: *

to something like this:

Access-Control-Allow-Origin: www.exampledomain.com

Thanks,

Derrick F.

This question has already been asked and answered here: 'Access-Control-Allow-Origin' header in the response must not be the wildcard '*'

Hi,
In the setup Cross-origin resource sharing (CORS) (for HTTP-based streams) must enable. And also add your application custom property.
/Root/Application/HTTPStreamer
cupertinoCORSHeadersSetMain
String
Access-Control-Allow-Origin: www.example.com

Regards