Does HTTP FLV streaming require authentication? `TRANS_BY_GPT3`
Activity
winlinvip commentedon Jun 10, 2017
Not supported right now. It's in the plan of SRS3.
myles1231 commentedon Jun 23, 2017
Is it reasonable to use http_hooks_on_connect?
TRANS_BY_GPT3winlinvip commentedon Aug 11, 2018
SRS2 will support HTTP callback for FLV.
winlinvip commentedon Aug 11, 2018
SRS2:
[2018-08-11 19:07:51][trace] post to sessions, req={"action":"on_play","client_id":113,"ip":"127.0.0.1","vhost":"defaultVhost","app":"live","stream":"livestream","param":"","pageUrl":""}
[2018-08-11 19:07:51][trace] srs on_play: client id=113, ip=127.0.0.1, vhost=defaultVhost, app=live, stream=livestream, param=, pageUrl=
127.0.0.1 - - [11/Aug/2018:19:07:51] "POST /api/v1/sessions HTTP/1.1" 200 25 "" "SRS(Simple RTMP Server)2.0.253"
[2018-08-11 19:07:52][trace] post to sessions, req={"action":"on_stop","client_id":113,"ip":"127.0.0.1","vhost":"defaultVhost","app":"live","stream":"livestream","param":""}
[2018-08-11 19:07:52][trace] srs on_stop: client id=113, ip=127.0.0.1, vhost=defaultVhost, app=live, stream=livestream, param=
127.0.0.1 - - [11/Aug/2018:19:07:52] "POST /api/v1/sessions HTTP/1.1" 200 25 "" "SRS(Simple RTMP Server)2.0.253"
winlinvip commentedon Aug 11, 2018
SRS3:
[2018-08-11 19:23:11][trace] post to sessions, req={"action":"on_play","client_id":109,"ip":"::ffff:127.0.0.1","vhost":"defaultVhost","app":"live","stream":"livestream","param":"","pageUrl":""}
[2018-08-11 19:23:11][trace] srs on_play: client id=109, ip=::ffff:127.0.0.1, vhost=defaultVhost, app=live, stream=livestream, param=, pageUrl=
127.0.0.1 - - [11/Aug/2018:19:23:11] "POST /api/v1/sessions HTTP/1.1" 200 25 "" "SRS/3.0.39(OuXuli)"
[2018-08-11 19:23:16][trace] post to sessions, req={"action":"on_stop","client_id":109,"ip":"::ffff:127.0.0.1","vhost":"defaultVhost","app":"live","stream":"livestream","param":""}
[2018-08-11 19:23:16][trace] srs on_stop: client id=109, ip=::ffff:127.0.0.1, vhost=defaultVhost, app=live, stream=livestream, param=
127.0.0.1 - - [11/Aug/2018:19:23:16] "POST /api/v1/sessions HTTP/1.1" 200 25 "" "SRS/3.0.39(OuXuli)"
For #910, Support HTTP FLV with HTTP callback. 2.0.254
Fix #910, Support HTTP FLV with HTTP callback. 3.0.39
winlinvip commentedon Apr 15, 2019
SRS2 and SRS3 have both supported FLV authentication, please refer to http hooks.
TRANS_BY_GPT3[-]HTTP FLV 拉流如何鉴权?[/-][+]How to authenticate HTTP FLV streaming?[/+]