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;
}