/* * 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 PushDataInfo : AbstractModel { /// /// 流名称。 /// [JsonProperty("StreamName")] public string StreamName{ get; set; } /// /// 推流路径。 /// [JsonProperty("AppName")] public string AppName{ get; set; } /// /// 推流客户端 IP。 /// [JsonProperty("ClientIp")] public string ClientIp{ get; set; } /// /// 接流服务器 IP。 /// [JsonProperty("ServerIp")] public string ServerIp{ get; set; } /// /// 推流视频帧率,单位: Hz。 /// [JsonProperty("VideoFps")] public ulong? VideoFps{ get; set; } /// /// 推流视频码率,单位: bps。 /// [JsonProperty("VideoSpeed")] public ulong? VideoSpeed{ get; set; } /// /// 推流音频帧率,单位: Hz。 /// [JsonProperty("AudioFps")] public ulong? AudioFps{ get; set; } /// /// 推流音频码率,单位: bps。 /// [JsonProperty("AudioSpeed")] public ulong? AudioSpeed{ get; set; } /// /// 推流域名。 /// [JsonProperty("PushDomain")] public string PushDomain{ get; set; } /// /// 推流开始时间。 /// [JsonProperty("BeginPushTime")] public string BeginPushTime{ get; set; } /// /// 音频编码格式, /// 例:"AAC"。 /// [JsonProperty("Acodec")] public string Acodec{ get; set; } /// /// 视频编码格式, /// 例:"H264"。 /// [JsonProperty("Vcodec")] public string Vcodec{ get; set; } /// /// 分辨率。 /// [JsonProperty("Resolution")] public string Resolution{ get; set; } /// /// 采样率。 /// [JsonProperty("AsampleRate")] public ulong? AsampleRate{ get; set; } /// /// metadata 中的音频码率,单位: Kbps。 /// [JsonProperty("MetaAudioSpeed")] public ulong? MetaAudioSpeed{ get; set; } /// /// metadata 中的视频码率,单位: Kbps。 /// [JsonProperty("MetaVideoSpeed")] public ulong? MetaVideoSpeed{ get; set; } /// /// metadata 中的帧率。 /// [JsonProperty("MetaFps")] public ulong? MetaFps{ 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 + "AppName", this.AppName); this.SetParamSimple(map, prefix + "ClientIp", this.ClientIp); this.SetParamSimple(map, prefix + "ServerIp", this.ServerIp); this.SetParamSimple(map, prefix + "VideoFps", this.VideoFps); this.SetParamSimple(map, prefix + "VideoSpeed", this.VideoSpeed); this.SetParamSimple(map, prefix + "AudioFps", this.AudioFps); this.SetParamSimple(map, prefix + "AudioSpeed", this.AudioSpeed); this.SetParamSimple(map, prefix + "PushDomain", this.PushDomain); this.SetParamSimple(map, prefix + "BeginPushTime", this.BeginPushTime); this.SetParamSimple(map, prefix + "Acodec", this.Acodec); this.SetParamSimple(map, prefix + "Vcodec", this.Vcodec); this.SetParamSimple(map, prefix + "Resolution", this.Resolution); this.SetParamSimple(map, prefix + "AsampleRate", this.AsampleRate); this.SetParamSimple(map, prefix + "MetaAudioSpeed", this.MetaAudioSpeed); this.SetParamSimple(map, prefix + "MetaVideoSpeed", this.MetaVideoSpeed); this.SetParamSimple(map, prefix + "MetaFps", this.MetaFps); } } }