For #2194, yield for high performance timer, for live player
This commit is contained in:
parent
c0fda42743
commit
d1bcc03d9a
|
|
@ -826,6 +826,9 @@ srs_error_t SrsRtmpConn::do_playing(SrsSource* source, SrsConsumer* consumer, Sr
|
|||
if (send_min_interval > 0) {
|
||||
srs_usleep(send_min_interval);
|
||||
}
|
||||
|
||||
// Yield to another coroutines.
|
||||
srs_thread_yield();
|
||||
}
|
||||
|
||||
return err;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user