Files
Ayay/SHH.Contracts.Grpc/Dtos/CameraConfigSubscribeDto.cs

22 lines
888 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
namespace SHH.Contracts
{
/// <summary>订阅项</summary>
public class CameraConfigSubscribeDto
{
/// <summary>订阅标识 例如: "UI_Display" (界面显示), "AI_Analysis" (算法分析)</summary>
public string AppId { get; set; } = string.Empty;
/// <summary>订阅业务类型 对应枚举 SubscriptionType 的整型值</summary>
public int Type { get; set; }
/// <summary>要求的传输帧率 要求的帧率8 帧或 1 帧</summary>
public int TargetFps { get; set; }
/// <summary>是否需要高清晰度流(主码流) true: 请求高分辨率主码流; false: 请求低分辨率子码流(默认)</summary>
public string Memo { get; set; } = string.Empty;
/// <summary>是否需要高清晰度</summary>
public bool NeedHighDefinition { get; set; }
= false;
}
}