修复笔误,不影响程序执行

This commit is contained in:
2026-01-19 08:13:46 +08:00
parent 4ab88e3cfe
commit f79cb6e74d

View File

@@ -310,8 +310,8 @@ public class DahuaVideoSource : BaseVideoSource
catch (Exception ex)
{
// 捕获所有异常,包括非托管转换错误,防止回调线程崩溃带崩整个程序
_sdkLog.Warning(ex, $"[SDK] Dahua 解码/转换流程异常. ID:{Config.Id} Size:{currentWidth}x{currentHeight}");
AddAuditLog($"[SDK] HDahua SafeOnDecodingCallBack 异常. => ID:{_config.Id} IP:{_config.IpAddress} Port:{_config.Port} Name:{_config.Name}, Exception: {ex.Message}");
_sdkLog.Error(ex, $"[SDK] Dahua 解码/转换流程异常. ID:{Config.Id} Size:{currentWidth}x{currentHeight}");
AddAuditLog($"[SDK] Dahua SafeOnDecodingCallBack 异常. => ID:{_config.Id} IP:{_config.IpAddress} Port:{_config.Port} Name:{_config.Name}, Exception: {ex.Message}");
}
finally
{