mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine SRS_CONSTS_RTMP_TMMS in time unit
This commit is contained in:
parent
5b0e0d0838
commit
92980a0ca2
10 changed files with 19 additions and 15 deletions
|
@ -213,8 +213,9 @@ srs_error_t SrsForwarder::do_cycle()
|
|||
}
|
||||
|
||||
srs_freep(sdk);
|
||||
// TODO: FIXME: Should switch cto with sto?
|
||||
int64_t cto = srsu2ms(SRS_FORWARDER_CIMS);
|
||||
int64_t sto = SRS_CONSTS_RTMP_TMMS;
|
||||
int64_t sto = srsu2ms(SRS_CONSTS_RTMP_TIMEOUT);
|
||||
sdk = new SrsSimpleRtmpClient(url, cto, sto);
|
||||
|
||||
if ((err = sdk->connect()) != srs_success) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue