Wowza Community

Chromecast - please check the servers CORS header

Hi, I enable header CORS in my streaming point but, when I test in my chromecast application says: please check the servers CORS header

My config wowza:

/Root/Application/HTTPStreamer httpCORSHeadersEnabled Boolean true

/Root/Application/HTTPStreamer httpUserHTTPHeaders String Access-Control-Allow-Origin:*|Access-Control-Allow-Credentials:true|Access-Control-Expose-Headers:Date|Access-Control-Allow-Methods:OPTIONS, GET, POST, HEAD|Access-Control-Allow-Headers:Content-Type, Overwrite, Destination, Content-Type, Depth, User-Agent, X-File-Size, X-Requested-With, If-Modified-Since, X-File-Name, Cache-Control, Range|Access-Control-Max-Age: 86400

Wowza version: Wowza Streaming Engine 4 Monthly Edition 4.4.1 build17882

test-cors

Fired XHR event: loadstart

Fired XHR event: readystatechange

Fired XHR event: readystatechange

Fired XHR event: progress

Fired XHR event: readystatechange

Fired XHR event: load

XHR status: 200

XHR status text: OK

XHR exposed response headers:

Date: Sat, 13 Aug 2016 10:58:02 GMT

Content-Type: application/vnd.apple.mpegurl

Cache-Control: no-cache

Fired XHR event: loadend

But yet persists the error please check the servers CORS header

Somebody have the same problem?

Hi,

Those headers should be ok, but just to be sure can you try the example streaming the sample.mp4 file as shown here? Sometimes Chromecast can be problematic with certain sources so using sample.mp4 can help rule that out. It may also be beneficial to apply the latest updater (currently 4.5.0.01) to rule out any other issues that may have been addressed. This article explains how to update your instance.

Regards,

Paul