Securing URLs with Secure Link + HLS
paulo at cole.tec.br
Wed Aug 31 21:48:57 UTC 2022
As far as I know, you need to modify your m3u8 files to include the *hash*
and *expire* on every .ts segment. I used to stream HLS using the secure
link module and I remember needing to rewrite the files on-the-fly to make
them include those.
Nginx will not automatically generate a m3u8 file with all the hashes for
you. Unless things changed in the last few years and I'm outdated now, haha.
On Wed, Aug 31, 2022 at 6:43 PM LewisMM <nginx-forum at forum.nginx.org> wrote:
> I make a request with the .m3u8 file with the MD5 Hash and expiration. It
> receives a 200 code. Then the m3u8 playlist file tries to load the first
> segment in the playlist, however, I receive 403 "Not Authorised" error.
> Nginx isn't passing the MD5 hash and expiration to the segment file.
> Like so:
> 200. Then tries to load segment (which is correct):
> 403, forbidden.
> It's not passing the hash. It should be 200.
> I hope you understand my problem.
> Posted at Nginx Forum:
> nginx mailing list -- nginx at nginx.org
> To unsubscribe send an email to nginx-leave at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx