mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
use smaller value for publish timeout.
This commit is contained in:
parent
a6dd8fb3a1
commit
ec24533955
2 changed files with 5 additions and 1 deletions
|
@ -869,7 +869,7 @@ int SrsRtmpConn::do_publishing(SrsSource* source, SrsPublishRecvThread* trd)
|
|||
pprint->elapse();
|
||||
|
||||
// cond wait for error.
|
||||
trd->wait(SRS_CONSTS_RTMP_RECV_TIMEOUT_US / 1000);
|
||||
trd->wait(SRS_CONSTS_RTMP_PUBLISHER_RECV_TIMEOUT_US / 1000);
|
||||
|
||||
// check the thread error code.
|
||||
if ((ret = trd->error_code()) != ERROR_SUCCESS) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue