Make strict mode a param (#1054)
So, a wrapping config (like cloud) can skip the strict mode check.
This commit is contained in:
@@ -443,7 +443,7 @@ func newParticipantForTestWithOpts(identity livekit.ParticipantIdentity, opts *p
|
||||
if opts.protocolVersion == 0 {
|
||||
opts.protocolVersion = 6
|
||||
}
|
||||
conf, _ := config.NewConfig("", nil)
|
||||
conf, _ := config.NewConfig("", true, nil)
|
||||
// disable mux, it doesn't play too well with unit test
|
||||
conf.RTC.UDPPort = 0
|
||||
conf.RTC.TCPPort = 0
|
||||
|
||||
Reference in New Issue
Block a user