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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠