Add batch i/o to improve throughput (#2033)

* Add batch i/o to improve throughput

* remove empty line

* Solve comments

* Change rtcconfig.UDPPort to PortRange

* Fix test
This commit is contained in:
cnderrauber
2023-09-06 10:18:20 +08:00
committed by GitHub
parent 1590b96686
commit 9b9298b927
10 changed files with 21 additions and 15 deletions
-1
View File
@@ -661,7 +661,6 @@ func newParticipantForTestWithOpts(identity livekit.ParticipantIdentity, opts *p
}
conf, _ := config.NewConfig("", true, nil, nil)
// disable mux, it doesn't play too well with unit test
conf.RTC.UDPPort = 0
conf.RTC.TCPPort = 0
rtcConf, err := NewWebRTCConfig(conf)
if err != nil {