Wowza Community

CORS issue

Hi,

Using Wowza 4.3.0, I’ve setup the HTTPStreamer CORS for HLS like this:

<Name>cupertinoUserHTTPHeaders</Name>
<Value>Access-Control-Allow-Origin: *|Access-Control-Allow-Methods: GET, POST, OPTIONS|Access-Control-Allow-Headers: Range</Value>

In “conf/Application.xml”, “conf/vod/Application.xml”, “conf/live/Application.xml” and “conf/Myapp/Application.xml”.

And it works if I access “playlist.m3u8” for example. But if I access “jwplayer.smil” it does not. The headers are not sent.

Any pointers?

Hi,

The cupertinoUserHTTPHeaders Property is specific to Apple HLS playback. If you’re using “jwplayer.smil” this is playback via RTMP protocol using the built-in HTTPProvider.

How to use JW Player with adaptive bitrate streaming from Wowza Streaming Engine

I recommend that you update to the latest version of Wowza Streaming Engine using the Upgrade guide.

This will allow you to take advantage of the new CORS related configuration via Wowza Streaming Engine Manager as seen in the article below.

How to enable cross-origin resource sharing (CORS) for HTTP-based connections

Regards,

Jason