Files

106 lines
3.6 KiB
C#
Raw Permalink Normal View History

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