- Newest
- Most votes
- Most comments
Hi Aman,
A few things you may check to verify if the encoding and packaging is working correctly. Did you tried to play the live streams from MediaPackage endpoint directly? Do the streams play (HLS and DASH)?
Moving on to troubleshoot the CDN...
Do you have CloudFront logs enabled? To verify what may be causing the 404 error? Did you create a custom error page response for a 404 HTTP Status response with a short TTL? So that further requests do not get the cached 404 error response.
See the following documentation for details on how to setup MediaPackage with CloudFront CDN: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/live-streaming.html
You can also follow this workshop that shows how to setup a live channel with MediaPackage: https://github.com/aws-samples/aws-media-services-simple-live-workflow/blob/master/2-MediaPackage/README.md
Or you can deploy the following CloudFormation template: https://github.com/aws-solutions/live-streaming-on-aws/blob/main/README.md
Changing the policies , giving all access rights to s3 bucket and choosing the channel template correctly worked. thank you for your time and help
Relevant content
- asked 8 months ago
- Accepted Answerasked 2 months ago
- AWS OFFICIALUpdated 6 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 months ago