mirror of
https://github.com/livekit/livekit.git
synced 2026-08-28 09:24:08 +00:00
fix negotiation timing issue, potential deadlock in ICE restart
This commit is contained in:
+1
-4
@@ -72,7 +72,7 @@ func scenarioPublishingUponJoining(t *testing.T, ports ...int) {
|
||||
writers = publishTracksForClients(t, c2)
|
||||
defer stopWriters(writers...)
|
||||
|
||||
success = testutils.WithTimeout(t, "new c2 tracks should be published again", func() bool {
|
||||
testutils.WithTimeout(t, "new c2 tracks should be published again", func() bool {
|
||||
tracks := c3.SubscribedTracks()
|
||||
if len(tracks[c2.ID()]) != 2 {
|
||||
return false
|
||||
@@ -82,9 +82,6 @@ func scenarioPublishingUponJoining(t *testing.T, ports ...int) {
|
||||
}
|
||||
return true
|
||||
})
|
||||
if !success {
|
||||
t.FailNow()
|
||||
}
|
||||
}
|
||||
|
||||
func scenarioReceiveBeforePublish(t *testing.T) {
|
||||
|
||||
Reference in New Issue
Block a user