Skip to content

Can the 'on_play' HTTP callback be enhanced to include the 'pageUrl'? #435

Closed
@backylee

Description

@backylee

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

Metadata

Metadata

Assignees

Labels

EnhancementImprovement or enhancement.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