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

refine wiki, cluster to forward.

This commit is contained in:
winlin 2014-08-14 16:33:26 +08:00
parent b15ee26a48
commit 08bc34e0df
3 changed files with 28 additions and 7 deletions

View file

@ -619,12 +619,14 @@ extern std::vector<std::string>& srs_get_local_ipv4_ips();
// get local or peer ip.
// where local ip is the server ip which client connected.
std::string srs_get_local_ip(int fd);
extern std::string srs_get_local_ip(int fd);
// get the local id port.
extern int srs_get_local_port(int fd);
// where peer ip is the client public ip which connected to server.
std::string srs_get_peer_ip(int fd);
extern std::string srs_get_peer_ip(int fd);
// dump summaries for /api/v1/summaries.
void srs_api_dump_summaries(std::stringstream& ss);
extern void srs_api_dump_summaries(std::stringstream& ss);
#endif