Adopt WebRTCConfig from mediatransportutil (#1707)

This also adds support for inline fields in ToCLIFlagNames
This commit is contained in:
Benjamin Pracht
2023-05-10 20:00:34 -07:00
committed by GitHub
parent b61fad339f
commit 4244542840
10 changed files with 57 additions and 684 deletions
+1 -1
View File
@@ -649,7 +649,7 @@ func newParticipantForTestWithOpts(identity livekit.ParticipantIdentity, opts *p
// disable mux, it doesn't play too well with unit test
conf.RTC.UDPPort = 0
conf.RTC.TCPPort = 0
rtcConf, err := NewWebRTCConfig(conf, "")
rtcConf, err := NewWebRTCConfig(conf)
if err != nil {
panic(err)
}