增加了通过网络主动上报图像的支持

增加了指令维护通道的支持
This commit is contained in:
2026-01-07 10:59:03 +08:00
parent a697aab3e0
commit 3d47c8f009
47 changed files with 1613 additions and 1734 deletions

View File

@@ -309,7 +309,7 @@ public class CameraManager : IDisposable, IAsyncDisposable
{
var options = new DynamicStreamOptions
{
StreamType = dto.StreamType,
StreamType = dto.StreamType ?? newConfig.StreamType,
RenderHandle = (IntPtr)dto.RenderHandle
};
device.ApplyOptions(options);
@@ -428,4 +428,13 @@ public class CameraManager : IDisposable, IAsyncDisposable
}
#endregion
/// <summary>
/// [新增] 获取当前管理的所有相机设备(兼容网络引擎接口)
/// </summary>
public IEnumerable<BaseVideoSource> GetAllCameras()
{
// 复用现有的 GetAllDevices 逻辑
return GetAllDevices();
}
}