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

For #307, enable REUSEPORT to increase UDP buffer

This commit is contained in:
winlin 2020-04-12 08:55:43 +08:00
parent a7f2bde8e2
commit 78aad11eeb
6 changed files with 54 additions and 10 deletions

View file

@ -233,7 +233,7 @@ class SrsRtcServer : virtual public ISrsUdpMuxHandler, virtual public ISrsHourGl
virtual public ISrsCoroutineHandler, virtual public ISrsReloadHandler
{
private:
SrsUdpMuxListener* listener;
std::vector<SrsUdpMuxListener*> listeners;
SrsHourGlass* timer;
private:
SrsCoroutine* trd;