/* * 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 TranscodeDetailInfo : AbstractModel { /// /// 流名称。 /// [JsonProperty("StreamName")] public string StreamName{ get; set; } /// /// 开始时间(北京时间),格式:yyyy-mm-dd HH:MM。 /// [JsonProperty("StartTime")] public string StartTime{ get; set; } /// /// 结束时间(北京时间),格式:yyyy-mm-dd HH:MM。 /// [JsonProperty("EndTime")] public string EndTime{ get; set; } /// /// 转码时长,单位:分钟。 /// 注意:因推流过程中可能有中断重推情况,此处时长为真实转码时长累加值,并非结束时间和开始时间的间隔。 /// [JsonProperty("Duration")] public ulong? Duration{ get; set; } /// /// 编码方式,带模块, /// 示例: /// liveprocessor_H264:直播转码-H264, /// liveprocessor_H265: 直播转码-H265, /// topspeed_H264:极速高清-H264, /// topspeed_H265:极速高清-H265。 /// [JsonProperty("ModuleCodec")] public string ModuleCodec{ get; set; } /// /// 码率。 /// [JsonProperty("Bitrate")] public ulong? Bitrate{ get; set; } /// /// 类型,包含:转码(Transcode),混流(MixStream),水印(WaterMark)。 /// [JsonProperty("Type")] public string Type{ get; set; } /// /// 推流域名。 /// [JsonProperty("PushDomain")] public string PushDomain{ get; set; } /// /// 分辨率。 /// [JsonProperty("Resolution")] public string Resolution{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "StreamName", this.StreamName); this.SetParamSimple(map, prefix + "StartTime", this.StartTime); this.SetParamSimple(map, prefix + "EndTime", this.EndTime); this.SetParamSimple(map, prefix + "Duration", this.Duration); this.SetParamSimple(map, prefix + "ModuleCodec", this.ModuleCodec); this.SetParamSimple(map, prefix + "Bitrate", this.Bitrate); this.SetParamSimple(map, prefix + "Type", this.Type); this.SetParamSimple(map, prefix + "PushDomain", this.PushDomain); this.SetParamSimple(map, prefix + "Resolution", this.Resolution); } } }