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:
parent
d6828a3e58
commit
170872135d
13 changed files with 46 additions and 40 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue