/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ namespace TencentCloud.Live.V20180801.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class PushQualityData : AbstractModel { /// /// 数据时间,格式: %Y-%m-%d %H:%M:%S.%ms,精确到毫秒级。 /// [JsonProperty("Time")] public string Time{ get; set; } /// /// 推流域名。 /// [JsonProperty("PushDomain")] public string PushDomain{ get; set; } /// /// 推流路径。 /// [JsonProperty("AppName")] public string AppName{ get; set; } /// /// 推流客户端 IP。 /// [JsonProperty("ClientIp")] public string ClientIp{ get; set; } /// /// 开始推流时间,格式: %Y-%m-%d %H:%M:%S.%ms,精确到毫秒级。 /// [JsonProperty("BeginPushTime")] public string BeginPushTime{ get; set; } /// /// 分辨率信息。 /// [JsonProperty("Resolution")] public string Resolution{ get; set; } /// /// 视频编码格式。 /// [JsonProperty("VCodec")] public string VCodec{ get; set; } /// /// 音频编码格式。 /// [JsonProperty("ACodec")] public string ACodec{ get; set; } /// /// 推流序列号,用来唯一的标志一次推流。 /// [JsonProperty("Sequence")] public string Sequence{ get; set; } /// /// 视频帧率。 /// [JsonProperty("VideoFps")] public ulong? VideoFps{ get; set; } /// /// 视频码率,单位: bps。 /// [JsonProperty("VideoRate")] public ulong? VideoRate{ get; set; } /// /// 音频帧率。 /// [JsonProperty("AudioFps")] public ulong? AudioFps{ get; set; } /// /// 音频码率,单位: bps。 /// [JsonProperty("AudioRate")] public ulong? AudioRate{ get; set; } /// /// 本地流逝时间,单位: ms,音视频流逝时间与本地流逝时间的差距越大表示推流质量越差,上行卡顿越严重。 /// [JsonProperty("LocalTs")] public ulong? LocalTs{ get; set; } /// /// 视频流逝时间,单位: ms。 /// [JsonProperty("VideoTs")] public ulong? VideoTs{ get; set; } /// /// 音频流逝时间,单位: ms。 /// [JsonProperty("AudioTs")] public ulong? AudioTs{ get; set; } /// /// metadata 中的视频码率,单位: kbps。 /// [JsonProperty("MetaVideoRate")] public ulong? MetaVideoRate{ get; set; } /// /// metadata 中的音频码率,单位: kbps。 /// [JsonProperty("MetaAudioRate")] public ulong? MetaAudioRate{ get; set; } /// /// metadata 中的帧率。 /// [JsonProperty("MateFps")] public ulong? MateFps{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "Time", this.Time); this.SetParamSimple(map, prefix + "PushDomain", this.PushDomain); this.SetParamSimple(map, prefix + "AppName", this.AppName); this.SetParamSimple(map, prefix + "ClientIp", this.ClientIp); this.SetParamSimple(map, prefix + "BeginPushTime", this.BeginPushTime); this.SetParamSimple(map, prefix + "Resolution", this.Resolution); this.SetParamSimple(map, prefix + "VCodec", this.VCodec); this.SetParamSimple(map, prefix + "ACodec", this.ACodec); this.SetParamSimple(map, prefix + "Sequence", this.Sequence); this.SetParamSimple(map, prefix + "VideoFps", this.VideoFps); this.SetParamSimple(map, prefix + "VideoRate", this.VideoRate); this.SetParamSimple(map, prefix + "AudioFps", this.AudioFps); this.SetParamSimple(map, prefix + "AudioRate", this.AudioRate); this.SetParamSimple(map, prefix + "LocalTs", this.LocalTs); this.SetParamSimple(map, prefix + "VideoTs", this.VideoTs); this.SetParamSimple(map, prefix + "AudioTs", this.AudioTs); this.SetParamSimple(map, prefix + "MetaVideoRate", this.MetaVideoRate); this.SetParamSimple(map, prefix + "MetaAudioRate", this.MetaAudioRate); this.SetParamSimple(map, prefix + "MateFps", this.MateFps); } } }