]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Fix 毫秒
authorqydysky <qydysky@foxmail.com>
Fri, 9 Jun 2023 12:05:57 +0000 (20:05 +0800)
committerqydysky <qydysky@foxmail.com>
Fri, 9 Jun 2023 12:05:57 +0000 (20:05 +0800)
Reply/stream.go

index ed568bbe7fc906981d52d51b5c3db69ff62dca23..ff255f13068a0fe6eb458ebf3ed0cd4bb2541a56 100644 (file)
@@ -796,7 +796,7 @@ func (t *M4SStream) saveStreamFlv() (e error) {
                                NoResponse:       true,
                                Async:            true,
                                Proxy:            t.common.Proxy,
-                               WriteLoopTO:      int(readTO) * 2 + 1,
+                               WriteLoopTO:      int(readTO)*1000*2 + 1,
                                Header: map[string]string{
                                        `Host`:            surl.Host,
                                        `User-Agent`:      `Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:103.0) Gecko/20100101 Firefox/103.0`,