Open vanderke opened 8 months ago
There does seem to be a way to do this transparently using this article from AWS and having 2 different cloudfronts going on. So I don't think that this is going to stop me from using this, however, there still seems to be an issue with using the cookies passed in through the header consistently.
Did you ever find a satisfactory resolution to this?
Adam
Hey Adam, Unfortunately, no. The article from AWS that I linked to was more "sample code" rather than fully tested code, and as a result, it didn't work as advertised. We're still working through the AWS configuration to see if we can get it to work, but so far, it's still not working.
Okay. If your organization wants to write me up an hourly contract, I'd love to take a look. This type of thing genuinely interests me so I'm willing to tackle it if you need help.
I've got several audio and video files in an S3 bucket serviced by Cloudfront. I'm sure that the
.m3u8
files are valid, as I can get access to them if I use a signed url. However, I can't seem to get the headers to get passed in the subsequent calls. Here's the code snippet that I'm using (taken string from theinitState()
method in the sample code):When the player is trying to intialize, I see that some of the URLs have the correct URL on them, but some do not. This is done in the same network call, but without all of the signature stuff added to it: I'm not sure how to get the player to add the extra parameters to each and every item that is in the playlist. Thanks for your help!