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

For #813, refine code.

This commit is contained in:
winlin 2017-03-25 12:52:54 +08:00
parent 8ad934a8a4
commit 2980e7d3ef
4 changed files with 12 additions and 22 deletions

View file

@ -211,10 +211,7 @@ int SrsRtspListener::listen(string i, int p)
srs_error("rtsp caster listen failed. ret=%d", ret);
return ret;
}
// pthread is removed?
srs_info("listen thread current_cid=%d, "
"listen at port=%d, type=%d, fd=%d started success, ep=%s:%d",
_srs_context->get_id(), port, type, listener->fd(), ip.c_str(), port);
srs_info("listen thread listen at port=%d, type=%d, fd=%d started success, ep=%s:%d", port, type, listener->fd(), ip.c_str(), port);
srs_trace("%s listen at tcp://%s:%d, fd=%d", srs_listener_type2string(type).c_str(), ip.c_str(), port, listener->fd());
@ -274,10 +271,7 @@ int SrsHttpFlvListener::listen(string i, int p)
return ret;
}
// pthread is removed?
srs_info("listen thread cid=%d, current_cid=%d, "
"listen at port=%d, type=%d, fd=%d started success, ep=%s:%d",
_srs_context->get_id(), port, type, listener->fd(), ip.c_str(), port);
srs_info("listen thread current_cid=%d, listen at port=%d, type=%d, fd=%d started success, ep=%s:%d", port, type, listener->fd(), ip.c_str(), port);
srs_trace("%s listen at tcp://%s:%d, fd=%d", srs_listener_type2string(type).c_str(), ip.c_str(), port, listener->fd());