fix 没启用也自动录制的 bug

This commit is contained in:
Genteure 2019-04-15 23:27:26 +08:00
parent 4766af403b
commit 12ac0b7ac2

View File

@ -108,7 +108,10 @@ namespace BililiveRecorder.Core
switch (e.Danmaku.MsgType)
{
case MsgTypeEnum.LiveStart:
if (IsMonitoring)
{
Task.Run(() => StreamStatusChanged?.Invoke(this, new StreamStatusChangedArgs() { type = TriggerType.Danmaku }));
}
break;
case MsgTypeEnum.LiveEnd:
break;