-
Greetings,
I’ve decided to try out HLS with FV Player.
Im running Version 7.5.11.727 (and Pro)I’ve created a .m3u8 and .ts compilation, and I can play it via VLC.
I use Digital Ocean, and the bucket is setup is not to allow directory listing. This setup worked for me fo about 2 years. CDN is also turned on and working. (I also tested this setup with streamloader + only authenticated users, and it worked fine.)
Now, when I add the video link in FV Player:
https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/prog_index.m3u8
nothing happens: black screen.
I’ve re-checked CDN and permissions. Everything seems to be fine. For the sake of troubleshooting I set the permissions to read:world on the .m3u8 and .ts files.
In dev console I see failed (403 – forbidden) requests going to:
https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/
Please note, that this is requesting the directory(which is not going to igve listing), not .ts or .m3u8 files.
In an example, in one for your docs, I saw the same request going to …dir/file.m3u8
In the initiated chain I see that hls.min.js is trying to make that request.
Now, before this 403 request, I also see a request to steam_loader:
https://mywebsite/?stream_loader=101&expire=1642606757&track=1&signature=ad856653e40da909855bee08741f7d8b
If I check the preview of the request, I see the following:
#EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:10.00000, https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/#EXT-X-BITRATE:423?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SYF7HCV72GHMQCF7QT6N%2F20220117%2Ffra1%2Fs3%2Faws4_request&X-Amz-Date=20220117T153920Z&X-Amz-Expires=7200&X-Amz-SignedHeaders=host&X-Amz-Signature=0cf9b09c5f5b1d00200ed9525af6c38689e54f50db7630c199b2b441445e53bf fileSequence0.ts #EXTINF:10.00000, https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/#EXT-X-BITRATE:495?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=SYF7HCV72GHMQCF7QT6N%2F20220117%2Ffra1%2Fs3%2Faws4_request&X-Amz-Date=20220117T153920Z&X-Amz-Expires=7200&X-Amz-SignedHeaders=host&X-Amz-Signature=0cf9b09c5f5b1d00200ed9525af6c38689e54f50db7630c199b2b441445e53bf fileSequence1.ts ...
To me it seems like the URL is broken here, notice the “fileSequence0.ts” is at the end of the URL. Shouldn’t it be like:
https://bucket.fra1.digitaloceanspaces.com/dir1/dir2/video/fileSequence0.ts#EXT-X-BITRATE:423...
?
The original .m3u8 file looks like this:
#EXTM3U #EXT-X-TARGETDURATION:10 #EXT-X-VERSION:3 #EXT-X-MEDIA-SEQUENCE:0 #EXT-X-PLAYLIST-TYPE:VOD #EXTINF:10.00000, #EXT-X-BITRATE:423 fileSequence0.ts #EXTINF:10.00000, #EXT-X-BITRATE:495 fileSequence1.ts ...
What am I missing here?