Files
Ayay/SHH.MjpegPlayer/Core/Models/CfgRtmpReply.cs

17 lines
492 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.MjpegPlayer;
/// <summary>RTMP 配置响应类</summary>
public class CfgRtmpReply
{
/// <summary>响应消息</summary>
public string msg { get; set; } = string.Empty;
/// <summary>响应状态码</summary>
public int code { get; set; }
/// <summary>RTMP 推流地址列表</summary>
public RtmpVo[]? rtmpVoList { get; set; }
/// <summary>是否成功(状态码为 200 时返回 true</summary>
public bool IsSuccess => code == 200;
}