Skip to content

How to authenticate HTTP FLV streaming? #910

Closed

Description

@PMExtra

Does HTTP FLV streaming require authentication?

TRANS_BY_GPT3

Activity

  1. added this to the milestone on Jun 10, 2017
  2. winlinvip commented on Jun 10, 2017

    @winlinvip
    Member

    Not supported right now. It's in the plan of SRS3.

  3. myles1231 commented on Jun 23, 2017

    @myles1231

    Is it reasonable to use http_hooks_on_connect?

    TRANS_BY_GPT3

  4. winlinvip commented on Aug 11, 2018

    @winlinvip
    Member

    SRS2 will support HTTP callback for FLV.

  5. winlinvip commented on Aug 11, 2018

    @winlinvip
    Member

    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"

  6. winlinvip commented on Aug 11, 2018

    @winlinvip
    Member

    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)"

  7. added 2 commits that reference this issue on Aug 11, 2018
  8. winlinvip commented on Apr 15, 2019

    @winlinvip
    Member

    SRS2 and SRS3 have both supported FLV authentication, please refer to http hooks.

    • SRS2: HTTP Callback: the parameter of on_play at CN or EN.
    • SRS3: HTTP Callback: the parameter of on_play at CN or EN.

    TRANS_BY_GPT3

  9. self-assigned this
    on Sep 15, 2021
  10. changed the title [-]HTTP FLV 拉流如何鉴权?[/-] [+]How to authenticate HTTP FLV streaming?[/+] on Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FeatureIt's a new feature.TransByAITranslated by AI/GPT.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions