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:
parent
b52a051d80
commit
1ffbdbc098
1 changed files with 849 additions and 847 deletions
4
trunk/src/app/srs_app_client.cpp
Normal file → Executable file
4
trunk/src/app/srs_app_client.cpp
Normal file → Executable file
|
@ -556,7 +556,9 @@ int SrsClient::flash_publish(SrsSource* source)
|
||||||
|
|
||||||
SrsCommonMessage* msg = NULL;
|
SrsCommonMessage* msg = NULL;
|
||||||
if ((ret = rtmp->recv_message(&msg)) != ERROR_SUCCESS) {
|
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;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue