warren-bank / HLS-Proxy

Node.js server to proxy HLS video streams
http://webcast-reloaded.surge.sh/proxy.html
GNU General Public License v2.0
238 stars 68 forks source link

how can I play #42

Open Brijendrasial opened 5 months ago

Brijendrasial commented 5 months ago

Hello,

I am unable to play this file http://canale.website:8880/play/IKoViRq8GLnb20ldaWGszZJB1f0lhqLwv4_k8zqYK6A/m3u8

warren-bank commented 5 months ago

it works for me

..this stream isn't protected in any way

warren-bank commented 5 months ago

to be clear, this is the URL that is playing in the Clappr video player as given by the previous link.

if your server isn't running at localhost, or is using a different port.. then adjust it accordingly

Brijendrasial commented 5 months ago

No I want to play it on https. Is it possible?

warren-bank commented 5 months ago

sure..

run the proxy with --tls.. also. your particular video host requires that requests include a user-agent.. so, here is a more complete example:

  hlsd --tls --port 8081 --useragent "hls-proxy" -v 2

now, watch streams on a secure website.. for example:

Brijendrasial commented 5 months ago

Hello Warren,

Can you paste all the step you used to run in https. As I tried it it doesnt work for me.

Brijendrasial commented 5 months ago

found very strange issue the below url plays fine on chrome but fails on firefox

https://146.59.237.104:8081/aHR0cDovL2NhbmFsZS53ZWJzaXRlOjg4ODAvcGxheS9JS29WaVJxOEdMbmIyMGxkYVdHc3paSkIxZjBsaHFMd3Y0X2s4enFZSzZBL20zdTg=.m3u8

Brijendrasial commented 5 months ago

sorry that because of not genuine ssl.is there any way to pass it?

Brijendrasial commented 5 months ago

amazing warren. I finally successfully played it by adding genuine ssl on domain and in --host using domain name with tls cert and key location :)

Amazing software thanks again