SDK 的 Bug 修复
This commit is contained in:
@@ -287,7 +287,7 @@ public class HikVideoSource : BaseVideoSource,
|
||||
{
|
||||
// 【修复点】双重检查在线状态
|
||||
// 如果在拿锁的过程中,外部已经调用了 StopAsync,这里必须停止,否则会创建"僵尸句柄"
|
||||
if (!IsOnline || !IsPhysicalOnline || _userId < 0)
|
||||
if (!IsActived || !IsPhysicalOnline || _userId < 0)
|
||||
{
|
||||
_sdkLog.Warning($"[SDK] 码流切换被取消,设备已离线.");
|
||||
AddAuditLog($"[SDK] 码流切换被取消,设备已离线.");
|
||||
|
||||
Reference in New Issue
Block a user