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

For #307, for realtime, change wait messages from 0 to 2

This commit is contained in:
winlin 2020-04-14 13:55:55 +08:00
parent 03a03e4174
commit fdc0c44b7e
5 changed files with 40 additions and 34 deletions

View file

@ -127,8 +127,12 @@
*/
#define SRS_PERF_QUEUE_COND_WAIT
#ifdef SRS_PERF_QUEUE_COND_WAIT
// For RTMP, use larger wait queue.
#define SRS_PERF_MW_MIN_MSGS 8
#define SRS_PERF_MW_MIN_MSGS_REALTIME 4
// For RTC, use smaller wait queue.
#define SRS_PERF_MW_MIN_MSGS_FOR_RTC 4
#define SRS_PERF_MW_MIN_MSGS_FOR_RTC_REALTIME 2
#endif
/**
* the default value of vhost for