1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

For #1488, pass client ip to http callback.3.0.85

This commit is contained in:
winlin 2019-12-26 11:42:19 +08:00
commit 316cab794a
7 changed files with 56 additions and 1 deletions

View file

@ -93,6 +93,8 @@ public:
public:
// Get the srs id which identify the client.
virtual int srs_id();
// Get the remote ip of peer.
virtual std::string remote_ip();
// Set connection to expired.
virtual void expire();
protected: