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

close #454, support obs restart publish. 2.0.184

This commit is contained in:
winlin 2015-08-18 17:43:01 +08:00
parent ccc4c05da9
commit 2cf526ffc7
7 changed files with 33 additions and 19 deletions

View file

@ -187,7 +187,7 @@ namespace internal {
srs_info("thread %s on before cycle success");
if ((ret = handler->cycle()) != ERROR_SUCCESS) {
if (!srs_is_client_gracefully_close(ret)) {
if (!srs_is_client_gracefully_close(ret) && !srs_is_system_control_error(ret)) {
srs_warn("thread %s cycle failed, ignored and retry, ret=%d", _name, ret);
}
goto failed;