AWS MediaStore .m3u8 Playback

0

I am able to watch the stream with the .m3u8, but once the stream is turned off, the .m3u8 will not playback anything. I thought it was maybe the Container and CORS, but I am starting to run out of ideas for what I should put instead. The files are SEGMENTED.

Here is the Container Policy:
{
"Version" : "2012-10-17",
"Statement" : [ {
"Sid" : "MediaStorePublicReadOverHttpOrHttps",
"Effect" : "Allow",
"Principal" : "",
"Action" : [ "mediastore:GetObject", "mediastore:DescribeObject" ],
"Resource" : "arn:aws:mediastore:us-east-1:724933024435:container/FargoNorth/
",
"Condition" : {
"Bool" : {
"aws:SecureTransport" : "true"
}
}
} ]
}

Here is the CORS:
[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
"
"
],
"ExposeHeaders": [
"*"
],
"MaxAgeSeconds": 3000
}
]

austinv
asked 4 years ago363 views
2 Answers
0

The issue was with the container policy and CORS. Below is what worked.

{
"Version" : "2012-10-17",
"Statement" : [ {
"Sid" : "PublicReadOverHttps",
"Effect" : "Allow",
"Principal" : "",
"Action" : [ "mediastore:GetObject", "mediastore:DescribeObject" ],
"Resource" : "arn:aws:mediastore:us-east-1:724933024435:container/FargoNorth/
",
"Condition" : {
"Bool" : {
"aws:SecureTransport" : "true"
}
}
} ]
}

[
{
"AllowedHeaders": [
""
],
"AllowedMethods": [
"GET",
"HEAD"
],
"AllowedOrigins": [
"
"
],
"MaxAgeSeconds": 3000
}
]

austinv
answered 4 years ago
0

Thanks for coming back to the forum with the resolution! I'm sure others will benefit from this.

AWS
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions