Hi there,
I use AWS Elastic Transcoder for for HLS streams. I then host them in a S3 bucket with CloudFront so that I can serve content with signed urls. The index file works fine and I can stream the HLS perfectly.
However, after a period of time (a few hours) the stream will no longer work even though I haven't made any changes subsequently on either AWS CloudFront or the PHP that calls the index file.
I am at my wits end, having tried looking at the CloudFront distribution, I cannot see why my streams initially work but then fail after a few hours.
The error code is "Error Loading Media: File could not be played."
The files stream okay when I call them from the S3 bucket, but fail through CloudFront. I've looked at another CloudFront distribution that serves MP4 (without issues) and cannot see any discrepancies between the two CloudFront distributions.
Please can anyone advise me?
Kind Regards
↧