Increase timeout for connection completion.

This commit is contained in:
Juliusz Chroboczek committed 2021-02-02 23:12:52 +01:00
1 parent f34ec0ab66
commit 6c4a71fda0
1 file changed
+1 -1
+1 -1
View File
@@ -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