细化接口内容
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using Newtonsoft.Json;
|
||||
using Newtonsoft.Json;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace SHH.Contracts
|
||||
{
|
||||
@@ -8,6 +9,8 @@ namespace SHH.Contracts
|
||||
/// </summary>
|
||||
public class VideoPayload
|
||||
{
|
||||
public List<string> SubscriberIds { get; } = new List<string>(16);
|
||||
|
||||
// ==========================================
|
||||
// 1. 基础元数据 (将被序列化到 JSON)
|
||||
// ==========================================
|
||||
@@ -65,6 +68,7 @@ namespace SHH.Contracts
|
||||
OriginalHeight,
|
||||
TargetWidth,
|
||||
TargetHeight,
|
||||
SubscriberIds,
|
||||
// 标记一下是否有目标图,方便接收端判断要不要读第3帧
|
||||
HasTargetImage = (TargetImageBytes != null && TargetImageBytes.Length > 0)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user