Open nsmith1024 opened 5 years ago
quick thoughts..
additional thoughts..
I am finding for the same solution, I try to run this proxy with prefetch enabled (hlsd --port 9991 --prefetch --max-segments 30
)
I did pass hashed URL to client, client can retrieve m3u8 content from the proxy but cannot read segment content (.ts files) because of CORS error (I use Clappr as a player).
Seems like .ts URLs not being changed to other ones which can be accessed, not sure how prefetch work, I was thought it will prefetch and store it somewhere and change m3u8 content to the changed URLs.
off-hand, my guess is:
--host
cli option and tell hlsd the address where the .ts segments should go
ip:port
on the LAN where hlsd is running?I found the source of problem the URLs contain ,
so I have to modify the URLs regex, it is very small change, just delete 1 character.
Hello,
I'm trying to make a webpage where im using HLS.js in the browser to play live streams from different URLS on the webpage.
The problem is that if the user enters a URL to a live stream that is on a different server from my website, i get a CORS error.
Lets say i want to watch a live YouTube video (just an example). I give HLS.js in the browser the link to the YouTube stream. HLS.js will go directly to YouTube causing a CORS error immediately because the browser its not on YouTube website its on my site at the moment.
Do you have any idea how to fix this problem with the proxy? Or using some other way? Thanks