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
gefragt vor 4 Jahren337 Aufrufe
2 Antworten
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
beantwortet vor 4 Jahren
0

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

AWS
beantwortet vor 4 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen