diff --git a/dial.go b/dial.go index dae2ea6..ca623cb 100644 --- a/dial.go +++ b/dial.go @@ -13,7 +13,7 @@ import ( ) func Dial(address string, tlsConfig *tls.Config, ordered bool, iceServers []string) (*Conn, error) { - dialCtx, cancel := context.WithTimeout(context.Background(), 5 * time.Second) // TODO: pass in timeout + dialCtx, cancel := context.WithTimeout(context.Background(), 10 * time.Second) // TODO: pass in timeout defer cancel() wSock, err := dialWebsocket(address, tlsConfig, dialCtx)