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

Merge branch '3.0release' into 4.0release

This commit is contained in:
winlin 2020-02-21 23:52:04 +08:00
commit ef2b123325
9 changed files with 68 additions and 15 deletions

View file

@ -246,6 +246,9 @@ srs_error_t SrsRtspConn::do_cycle()
// retrieve ip of client.
std::string ip = srs_get_peer_ip(srs_netfd_fileno(stfd));
if (ip.empty() && !_srs_config->empty_ip_ok()) {
srs_warn("empty ip for fd=%d", srs_netfd_fileno(stfd));
}
srs_trace("rtsp: serve %s", ip.c_str());
// consume all rtsp messages.