Closed
Description
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