Chromecast Live HLS


After struggling with my CORS headers, I managed to make my VOD content work with Chromecast via the player module.

My problem now is that Chromecast refuses to play the live HLS stream (nginx, manual live).

Does anyone have had any experience with this ? Or do I have to switch back to wowza / kaltura integration ?

I have validated muy hls stream and works in all devices but Chromecast.

Any help will be appreciated,

David Eusse


I’l answer my own question in case somebody else needs it.
Here are some instructions for making Chromecast work (somehow):

  1. You need to create either a custom or skinned receiver on and publish it

  2. Assign the Application ID to your player.

  3. Activate a DASH VOD delivery profile

  4. Verify that your CORS headers are OK (another headache):
    add_header ‘Access-Control-Allow-Headers’ ‘*’;
    add_header ‘Access-Control-Allow-Headers’ ‘Range’;
    add_header ‘Access-Control-Expose-Headers’ ‘Content-Length, Content-Range’;

    add_header ‘Access-Control-Expose-Headers’ ‘Server,Range,Content-Length,Content-Range’;

      add_header 'Access-Control-Allow-Methods' 'GET, HEAD, OPTIONS';
      add_header 'Access-Control-Allow-Origin' '*';
  5. For your nginx live HLS you need to setup ABSOLUTE urls like this:

  6. If you want to customize your receiver you can point it to your player’s module, like this:

  7. That’s it