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

For #2194, yield for timer, for live publisher

This commit is contained in:
winlin 2021-02-11 22:03:00 +08:00
parent 211b05fc64
commit 4fc1a19415
3 changed files with 11 additions and 1 deletions

View file

@ -828,6 +828,7 @@ srs_error_t SrsRtmpConn::do_playing(SrsSource* source, SrsConsumer* consumer, Sr
}
// Yield to another coroutines.
// @see https://github.com/ossrs/srs/issues/2194#issuecomment-777437476
srs_thread_yield();
}