-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can the 'on_play' HTTP callback be enhanced to include the 'pageUrl'? #435
Labels
Milestone
Comments
winlinvip
added
Enhancement
Improvement or enhancement.
Feature
It's a new feature.
labels
Jul 2, 2015
I will add it in version 2.0.
|
winlinvip
added a commit
that referenced
this issue
Jul 21, 2015
|
winlinvip
changed the title
http回调on_play可否增加pageUrl
Can the 'on_play' HTTP callback be enhanced to include the 'pageUrl'?
Jul 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When publishing a stream, on_connect becomes on_publish.
When a client is playing, on_connect becomes on_play.
If you want to control client anti-leeching, the pageUrl in on_connect should not be used for whitelist checking, as it will affect the publishing process.
If you include pageUrl separately in on_play, you can perform the check.
Of course, SRS's Refer anti-leeching can also do this job, and if there is an HTTP callback, it will be more flexible.
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: