Removed cli, mux cleanup, docs update

This commit is contained in:
David Zhao
2021-05-07 01:16:33 -07:00
parent 933bdb9a2f
commit d399a57a7b
21 changed files with 963 additions and 738 deletions
+7 -1
View File
@@ -146,7 +146,13 @@ func TestCorrectJoinedAt(t *testing.T) {
func newParticipantForTest(identity string) *ParticipantImpl {
conf, _ := config.NewConfig("")
rtcConf, _ := NewWebRTCConfig(&conf.RTC, "")
// disable mux, it doesn't play too well with unit test
conf.RTC.UDPPort = 0
conf.RTC.TCPPort = 0
rtcConf, err := NewWebRTCConfig(&conf.RTC, "")
if err != nil {
panic(err)
}
p, _ := NewParticipant(
identity,
rtcConf,