/* * 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.Tiw.V20190919.Models { using Newtonsoft.Json; using System.Collections.Generic; using TencentCloud.Common; public class StartOnlineRecordRequest : AbstractModel { /// /// 客户的SdkAppId /// [JsonProperty("SdkAppId")] public long? SdkAppId{ get; set; } /// /// 需要录制的房间号 /// [JsonProperty("RoomId")] public long? RoomId{ get; set; } /// /// 用于实时录制服务进房的用户Id,格式为`tic_record_user_${RoomId}_${Random}`,其中 `${RoomId}` 与录制房间号对应,`${Random}`为一个随机字符串。 /// 实时录制服务会使用这个用户Id进房进行录制房间内的音视频与白板,为了防止进房冲突,请保证此 用户Id不重复 /// [JsonProperty("RecordUserId")] public string RecordUserId{ get; set; } /// /// 与RecordUserId对应的签名 /// [JsonProperty("RecordUserSig")] public string RecordUserSig{ get; set; } /// /// 白板的 IM 群组 Id,默认同房间号 /// [JsonProperty("GroupId")] public string GroupId{ get; set; } /// /// 实时录制视频拼接参数 /// [JsonProperty("Concat")] public Concat Concat{ get; set; } /// /// 实时录制白板参数,例如白板宽高等 /// [JsonProperty("Whiteboard")] public Whiteboard Whiteboard{ get; set; } /// /// 实时录制混流参数 /// 特别说明: /// 1. 混流功能需要根据额外开通, 请联系腾讯云互动白板客服人员 /// 2. 使用混流功能,必须提供 Extras 参数,且 Extras 参数中必须包含 "MIX_STREAM" /// [JsonProperty("MixStream")] public MixStream MixStream{ get; set; } /// /// 使用到的高级功能列表 /// 可以选值列表: /// MIX_STREAM - 混流功能 /// [JsonProperty("Extras")] public string[] Extras{ get; set; } /// /// 是否需要在结果回调中返回各路流的纯音频录制文件,文件格式为mp3 /// [JsonProperty("AudioFileNeeded")] public bool? AudioFileNeeded{ get; set; } /// /// For internal usage only. DO NOT USE IT. /// internal override void ToMap(Dictionary map, string prefix) { this.SetParamSimple(map, prefix + "SdkAppId", this.SdkAppId); this.SetParamSimple(map, prefix + "RoomId", this.RoomId); this.SetParamSimple(map, prefix + "RecordUserId", this.RecordUserId); this.SetParamSimple(map, prefix + "RecordUserSig", this.RecordUserSig); this.SetParamSimple(map, prefix + "GroupId", this.GroupId); this.SetParamObj(map, prefix + "Concat.", this.Concat); this.SetParamObj(map, prefix + "Whiteboard.", this.Whiteboard); this.SetParamObj(map, prefix + "MixStream.", this.MixStream); this.SetParamArraySimple(map, prefix + "Extras.", this.Extras); this.SetParamSimple(map, prefix + "AudioFileNeeded", this.AudioFileNeeded); } } }