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

Refine SRS_CONSTS_RTMP_PULSE_TMMS in time unit

This commit is contained in:
winlin 2019-04-11 08:43:42 +08:00
parent 695d430dcf
commit 5b0e0d0838
9 changed files with 12 additions and 12 deletions

View file

@ -115,7 +115,7 @@ srs_error_t SrsEdgeRtmpUpstream::connect(SrsRequest* r, SrsLbRoundRobin* lb)
srs_freep(sdk);
int64_t cto = srsu2ms(SRS_EDGE_INGESTER_TMMS);
int64_t sto = SRS_CONSTS_RTMP_PULSE_TMMS;
int64_t sto = srsu2ms(SRS_CONSTS_RTMP_PULSE);
sdk = new SrsSimpleRtmpClient(url, cto, sto);
if ((err = sdk->connect()) != srs_success) {
@ -532,7 +532,7 @@ srs_error_t SrsEdgeForwarder::do_cycle()
{
srs_error_t err = srs_success;
sdk->set_recv_timeout(SRS_CONSTS_RTMP_PULSE_TMMS);
sdk->set_recv_timeout(srsu2ms(SRS_CONSTS_RTMP_PULSE));
SrsPithyPrint* pprint = SrsPithyPrint::create_edge();
SrsAutoFree(SrsPithyPrint, pprint);