- 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
answered 3 years ago
Changing the policies , giving all access rights to s3 bucket and choosing the channel template correctly worked. thank you for your time and help
answered 3 years ago
The 404 from the MediaPackage endpoint directly means MediaPackage hasn't received any content yet. This points to a MediaLive → MediaPackage connection issue.
Quick checks:
- Does MediaLive's HLS output destination URL match the MediaPackage ingest endpoint?
- Are the ingest credentials (username/password) correct in MediaLive?
answered 4 months ago
Relevant content
asked 3 years ago
asked 4 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
