From 5bf2c76bff73a54fbe5909f4ca11e83b1d234e74 Mon Sep 17 00:00:00 2001 From: nareix Date: Sat, 11 Jun 2016 20:29:21 +0800 Subject: [PATCH] add Client Timeout fields --- client.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/client.go b/client.go index 2a0c7e5..39670cd 100644 --- a/client.go +++ b/client.go @@ -27,6 +27,12 @@ type Client struct { DebugConn bool Headers []string + DialTimeout time.Duration + RtspTimeout time.Duration + RtpFirstReadTimeout time.Duration + RtpReadTimeout time.Duration + RtpKeepAliveTimeout time.Duration + setupCalled bool playCalled bool