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. 2.0.269

This commit is contained in:
winlin 2019-12-26 10:37:16 +08:00
parent c5f31570cd
commit 09b65aff96
5 changed files with 15 additions and 1 deletions

View file

@ -130,6 +130,8 @@ 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.
*/