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

@ -536,7 +536,7 @@ srs_error_t SrsConsumer::dump_packets(SrsMessageArray* msgs, int& count)
void SrsConsumer::wait(int nb_msgs, srs_utime_t msgs_duration)
{
if (paused) {
srs_usleep(SRS_CONSTS_RTMP_PULSE_TMMS * 1000);
srs_usleep(SRS_CONSTS_RTMP_PULSE);
return;
}