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_TMMS in time unit

This commit is contained in:
winlin 2019-04-11 09:18:20 +08:00
parent 5b0e0d0838
commit 92980a0ca2
10 changed files with 19 additions and 15 deletions

View file

@ -615,7 +615,7 @@ srs_error_t SrsMpegtsOverUdp::connect()
return err;
}
int64_t cto = SRS_CONSTS_RTMP_TMMS;
int64_t cto = srsu2ms(SRS_CONSTS_RTMP_TIMEOUT);
int64_t sto = srsu2ms(SRS_CONSTS_RTMP_PULSE);
sdk = new SrsSimpleRtmpClient(output, cto, sto);