mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine audio to RTP packet base.
This commit is contained in:
parent
588d17c09d
commit
54d8c36905
7 changed files with 129 additions and 190 deletions
|
@ -125,6 +125,7 @@
|
|||
* @remark this improve performance for large connectios.
|
||||
* @see https://github.com/ossrs/srs/issues/251
|
||||
*/
|
||||
// TODO: FIXME: Should always enable it.
|
||||
#define SRS_PERF_QUEUE_COND_WAIT
|
||||
#ifdef SRS_PERF_QUEUE_COND_WAIT
|
||||
// For RTMP, use larger wait queue.
|
||||
|
@ -212,6 +213,7 @@
|
|||
#define SRS_PERF_RTC_GSO_MAX 64
|
||||
|
||||
// For RTC, the max count of RTP packets we process in one loop.
|
||||
// TODO: FIXME: Remove it.
|
||||
#define SRS_PERF_RTC_RTP_PACKETS 1024
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue