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

refine log, donot show error when client gracefully close it

This commit is contained in:
winlin 2014-03-18 16:17:52 +08:00
parent b52a051d80
commit 1ffbdbc098

4
trunk/src/app/srs_app_client.cpp Normal file → Executable file
View file

@ -556,7 +556,9 @@ int SrsClient::flash_publish(SrsSource* source)
SrsCommonMessage* msg = NULL;
if ((ret = rtmp->recv_message(&msg)) != ERROR_SUCCESS) {
srs_error("flash recv identify client message failed. ret=%d", ret);
if (!srs_is_client_gracefully_close(ret)) {
srs_error("flash recv identify client message failed. ret=%d", ret);
}
return ret;
}