增加了通过网络主动上报图像的支持
增加了指令维护通道的支持
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user