diff --git a/conf/conf.go b/conf/conf.go index 802d195c..171a77ba 100644 --- a/conf/conf.go +++ b/conf/conf.go @@ -74,7 +74,7 @@ func (conf *Conf) fillAndCheck() error { conf.ReadTimeout = 10 * time.Second } if conf.WriteTimeout == 0 { - conf.WriteTimeout = 5 * time.Second + conf.WriteTimeout = 10 * time.Second } if len(conf.AuthMethods) == 0 { diff --git a/rtsp-simple-server.yml b/rtsp-simple-server.yml index 55fbfea9..5e1b45f3 100644 --- a/rtsp-simple-server.yml +++ b/rtsp-simple-server.yml @@ -11,7 +11,7 @@ rtcpPort: 8001 # timeout of read operations. readTimeout: 10s # timeout of write operations. -writeTimeout: 5s +writeTimeout: 10s # supported authentication methods (both are insecure, use RTSP inside a VPN # to enforce security).