From 6c4a71fda055df53027f7f3b55570669a77eb35c Mon Sep 17 00:00:00 2001 From: Juliusz Chroboczek Date: Tue, 2 Feb 2021 22:58:49 +0100 Subject: [PATCH] Increase timeout for connection completion. --- rtpconn/rtpconn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rtpconn/rtpconn.go b/rtpconn/rtpconn.go index 1399f22..6931a81 100644 --- a/rtpconn/rtpconn.go +++ b/rtpconn/rtpconn.go @@ -480,7 +480,7 @@ func pushConn(up *rtpUpConnection, g *group.Group, cs []group.Client) { up.mu.Unlock() go func(g *group.Group, cs []group.Client) { - time.Sleep(300 * time.Millisecond) + time.Sleep(4 * time.Second) up.mu.Lock() pushed := up.pushed up.pushed = true