From e9342d43c4c7cf59685e105028af16dbb0bdee01 Mon Sep 17 00:00:00 2001 From: genteure Date: Sun, 20 Aug 2023 15:53:34 +0800 Subject: [PATCH] fix(core): stream info pulling condition --- BililiveRecorder.Core/Room.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BililiveRecorder.Core/Room.cs b/BililiveRecorder.Core/Room.cs index 2f18822..f54de53 100644 --- a/BililiveRecorder.Core/Room.cs +++ b/BililiveRecorder.Core/Room.cs @@ -626,7 +626,8 @@ namespace BililiveRecorder.Core { this.StartDamakuConnection(delay: false); - if (this.RoomConfig.AutoRecord) + // 如果开启了自动录制 或者 还没有获取过第一次房间信息 + if (this.RoomConfig.AutoRecord || !this.danmakuConnectHoldOff.IsSet) { _ = Task.Run(async () => {