devcshort / react-hls

Simple React component for playing hls/rtmp live streams.
https://www.npmjs.com/package/react-hls-player
MIT License
118 stars 48 forks source link

HTTP “Content-Type” of “application/vnd.apple.mpegurl” is not supported. #51

Closed oVerde closed 1 year ago

oVerde commented 1 year ago

I don't know what is happening; I build the player, but now, nothing works anymore, neither using the demos provided it works anymore.

HTTP “Content-Type” of “application/vnd.apple.mpegurl” is not supported. 
Load of media resource https://bitdash-a.akamaihd.net/content/sintel/hls/playlist.m3u8 failed.

If I use the HLS Demo alone, it works https://hls-js.netlify.app/demo/?src=https%3A%2F%2Ftest-streams.mux.dev%2Fx36xhzz%2Fx36xhzz.m3u8&demoConfig=eyJlbmFibGVTdHJlYW1pbmciOnRydWUsImF1dG9SZWNvdmVyRXJyb3IiOnRydWUsInN0b3BPblN0YWxsIjpmYWxzZSwiZHVtcGZNUDQiOmZhbHNlLCJsZXZlbENhcHBpbmciOi0xLCJsaW1pdE1ldHJpY3MiOi0xfQ==

even using this mine media url

https://d2wb6ogmp6oqcd.cloudfront.net/63ae06f2c69ce59054a11006/9220d682-5ac7-4348-8506-bfcd4933fe3b/hls/f71a4dc6-3be5-4c08-b562-e053ddba6434.m3u8?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kMndiNm9nbXA2b3FjZC5jbG91ZGZyb250Lm5ldC82M2FlMDZmMmM2OWNlNTkwNTRhMTEwMDYvOTIyMGQ2ODItNWFjNy00MzQ4LTg1MDYtYmZjZDQ5MzNmZTNiL2hscy9mNzFhNGRjNi0zYmU1LTRjMDgtYjU2Mi1lMDUzZGRiYTY0MzQubTN1OCIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTY3NzAwOTI3OH19fV19&Key-Pair-Id=K11OCWBU2VLNBZ&Signature=y-scvUeaydZ4HGWGIvXaNNAIqvqUb7n1-XqK6PqQUK9~Vkd~cyl3BIIlFSuIUuByGoYVAPXW5A8ql5TOX~1NTXkEeG-p0Q5ogK~BcZc52YjEkZ0gWNPn3PYm-qxu3V4gqVxrEXRHGAf3OQhuzen-mbsMtAMisTQEwbVmpwHHs-3X3JHejsKcb-hrsJVTrFVlIBHSu~I4nlGKUlqMqK-Hdx-NfIh5i-~QzeIIvv7hsl99qq5QbiHmqS9wvZcB~elR~cj~e25bR7US1DbDP8yOSRFguPWaYcuBSbPYc273UBkfBDxKiCF-XjHZzrasMI0a8p0rU-IyTh8SVnc9StONEg__

image

image

image

oVerde commented 1 year ago

the problem was on my side, sorry