CORS error in live stream on browser
I have setup a cloudfront distribution for HLS live streaming. Sometimes the playback is stopped as manifest & .ts chunks fetch is blocked due to CORS, however status received is 200 OK from Cloudfront.
The error description shows that Preflight request & initiator requests are from different domains. How do I make CF to skip this check or any alternative solution.
Also this issue is intermittent.
What changes do I make on CF to correct this issue?
Can you follow this document to configure CORS in your CloudFront and see if that fixes your issue. https://aws.amazon.com/premiumsupport/knowledge-center/no-access-control-allow-origin-error/
Thanks for the update. However I was able to correct it by using custom mediapackage cache & header policy on cloudfront.
Remaining chunks after stopping a live stream in HLSasked 3 years ago
What should I use between MediaStore vs MediaPackage ?asked 3 years ago
4K Live Streaming Solution - How to get there?asked 3 months ago
View live stream 404asked a year ago
Vod MediaPackage with cloudfrontasked a month ago
CORS error in live stream on browserasked 7 months ago
MediaLive Archive output not creating manifest .m3u8 fileAccepted Answerasked a year ago
Issues with CORS and time-shifted playbackasked 3 years ago
Elemental MediaPackage MPD or HLS playback from middleasked 2 months ago
Streaming Video Optimizationasked 2 years ago