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

Refine get_publish_1stpkt_timeout in time unit

This commit is contained in:
winlin 2019-04-10 07:53:09 +08:00
parent d6828a3e58
commit 170872135d
13 changed files with 46 additions and 40 deletions

View file

@ -213,7 +213,7 @@ srs_error_t SrsForwarder::do_cycle()
}
srs_freep(sdk);
int64_t cto = SRS_FORWARDER_CIMS / SRS_UTIME_MILLISECONDS;
int64_t cto = srsu2ms(SRS_FORWARDER_CIMS);
int64_t sto = SRS_CONSTS_RTMP_TMMS;
sdk = new SrsSimpleRtmpClient(url, cto, sto);