Node-Media-Server icon indicating copy to clipboard operation
Node-Media-Server copied to clipboard

Auth not working with HTTP

Open fazila-mehtab opened this issue 7 years ago • 6 comments

Remote machine authentication is working fine with RTMP but its not working with HTTP, I dont know why?? I set these settings in app.js file. auth: { play: true, publish: true, secret: 'nodemedia2017privatekey' }, anyone please help

fazila-mehtab avatar Jul 11 '18 12:07 fazila-mehtab

Access requests from the local network are always allowed.

illuspas avatar Jul 11 '18 12:07 illuspas

I am not using local machine, my application is deployed in remote machine.

fazila-mehtab avatar Jul 11 '18 12:07 fazila-mehtab

Authentication with RTMP protocol is working fine in remote machine but not with HTTP protocol.

fazila-mehtab avatar Jul 11 '18 12:07 fazila-mehtab

HTTP-FLV,HLS,DASH,MP4-VOD ,They're all over HTTP. However, only http-flv provides authentication currently.

illuspas avatar Jul 11 '18 12:07 illuspas

Nice, its working fine http-flv. thanks

fazila-mehtab avatar Jul 11 '18 12:07 fazila-mehtab

Hi @fazila-mehtab , how did you solve this? I'm facing #571 this issue. I'm trying to play stream with http-flv (http://localhost:8000/live/stream.flv?sign= token) but still can't access. However, can access with rtmp.

Jeevittan avatar Mar 11 '23 03:03 Jeevittan