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
已提問 4 年前檢視次數 337 次
2 個答案
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
已回答 4 年前
0

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

AWS
已回答 4 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南