tencentcloud-sdk-lcic 3.0.546 → 3.0.548
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220817/client.rb +24 -0
- data/lib/v20220817/models.rb +148 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ccd51647900c367b50e36cc9988408e430e30ed7
|
4
|
+
data.tar.gz: b49d178c89a4176b98feb923a073b9b4079fe034
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ae79e5649ef1969e3b0845b35995dbcba538fe688b177a59bf244f09a62649c6e2d8dcef0481dd87273c1cea951b3934a858f83f24e38d3cfd192256b938132
|
7
|
+
data.tar.gz: ab6cdc0435b1c7c4348c47325cb18beed7756f7aa9ce184ce7c598e94f0f2106b8f6c11d3de803c550579a44b79f93a1be28c7fe6a6d6afe571a210707779802
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.548
|
data/lib/v20220817/client.rb
CHANGED
@@ -893,6 +893,30 @@ module TencentCloud
|
|
893
893
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
894
894
|
end
|
895
895
|
|
896
|
+
# 获取房间列表
|
897
|
+
|
898
|
+
# @param request: Request instance for GetRooms.
|
899
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::GetRoomsRequest`
|
900
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::GetRoomsResponse`
|
901
|
+
def GetRooms(request)
|
902
|
+
body = send_request('GetRooms', request.serialize)
|
903
|
+
response = JSON.parse(body)
|
904
|
+
if response['Response'].key?('Error') == false
|
905
|
+
model = GetRoomsResponse.new
|
906
|
+
model.deserialize(response['Response'])
|
907
|
+
model
|
908
|
+
else
|
909
|
+
code = response['Response']['Error']['Code']
|
910
|
+
message = response['Response']['Error']['Message']
|
911
|
+
reqid = response['Response']['RequestId']
|
912
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
913
|
+
end
|
914
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
915
|
+
raise e
|
916
|
+
rescue StandardError => e
|
917
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
918
|
+
end
|
919
|
+
|
896
920
|
# 获取水印设置
|
897
921
|
|
898
922
|
# @param request: Request instance for GetWatermark.
|
data/lib/v20220817/models.rb
CHANGED
@@ -726,6 +726,10 @@ module TencentCloud
|
|
726
726
|
# 0 不自动连麦(需要手动申请上麦,默认值)
|
727
727
|
# 1 自动连麦
|
728
728
|
# @type AutoMic: Integer
|
729
|
+
# @param TurnOffMic: 释放音视频权限后是否自动取消连麦。可以有以下取值:
|
730
|
+
# 0 自动取消连麦(默认值)
|
731
|
+
# 1 保持连麦状态
|
732
|
+
# @type TurnOffMic: Integer
|
729
733
|
# @param AudioQuality: 高音质模式。可以有以下取值:
|
730
734
|
# 0 不开启高音质(默认值)
|
731
735
|
# 1 开启高音质
|
@@ -737,14 +741,18 @@ module TencentCloud
|
|
737
741
|
# @type DisableRecord: Integer
|
738
742
|
# @param Assistants: 助教Id列表。通过[注册用户]接口获取的UserId。指定后该用户在房间内拥有助教权限。
|
739
743
|
# @type Assistants: Array
|
744
|
+
# @param RTCAudienceNumber: rtc人数。
|
745
|
+
# @type RTCAudienceNumber: Integer
|
746
|
+
# @param AudienceType: 观看类型。0未知,1互动,2cdn或直播。 目前仅支持互动类型
|
747
|
+
# @type AudienceType: Integer
|
740
748
|
# @param RecordLayout: 录制布局。录制模板枚举值参考:https://cloud.tencent.com/document/product/1639/89744
|
741
749
|
# @type RecordLayout: Integer
|
742
750
|
# @param GroupId: 房间绑定的群组ID,非空时限制组成员进入
|
743
751
|
# @type GroupId: String
|
744
752
|
|
745
|
-
attr_accessor :Name, :StartTime, :EndTime, :SdkAppId, :Resolution, :MaxMicNumber, :SubType, :TeacherId, :AutoMic, :AudioQuality, :DisableRecord, :Assistants, :RecordLayout, :GroupId
|
753
|
+
attr_accessor :Name, :StartTime, :EndTime, :SdkAppId, :Resolution, :MaxMicNumber, :SubType, :TeacherId, :AutoMic, :TurnOffMic, :AudioQuality, :DisableRecord, :Assistants, :RTCAudienceNumber, :AudienceType, :RecordLayout, :GroupId
|
746
754
|
|
747
|
-
def initialize(name=nil, starttime=nil, endtime=nil, sdkappid=nil, resolution=nil, maxmicnumber=nil, subtype=nil, teacherid=nil, automic=nil, audioquality=nil, disablerecord=nil, assistants=nil, recordlayout=nil, groupid=nil)
|
755
|
+
def initialize(name=nil, starttime=nil, endtime=nil, sdkappid=nil, resolution=nil, maxmicnumber=nil, subtype=nil, teacherid=nil, automic=nil, turnoffmic=nil, audioquality=nil, disablerecord=nil, assistants=nil, rtcaudiencenumber=nil, audiencetype=nil, recordlayout=nil, groupid=nil)
|
748
756
|
@Name = name
|
749
757
|
@StartTime = starttime
|
750
758
|
@EndTime = endtime
|
@@ -754,9 +762,12 @@ module TencentCloud
|
|
754
762
|
@SubType = subtype
|
755
763
|
@TeacherId = teacherid
|
756
764
|
@AutoMic = automic
|
765
|
+
@TurnOffMic = turnoffmic
|
757
766
|
@AudioQuality = audioquality
|
758
767
|
@DisableRecord = disablerecord
|
759
768
|
@Assistants = assistants
|
769
|
+
@RTCAudienceNumber = rtcaudiencenumber
|
770
|
+
@AudienceType = audiencetype
|
760
771
|
@RecordLayout = recordlayout
|
761
772
|
@GroupId = groupid
|
762
773
|
end
|
@@ -771,9 +782,12 @@ module TencentCloud
|
|
771
782
|
@SubType = params['SubType']
|
772
783
|
@TeacherId = params['TeacherId']
|
773
784
|
@AutoMic = params['AutoMic']
|
785
|
+
@TurnOffMic = params['TurnOffMic']
|
774
786
|
@AudioQuality = params['AudioQuality']
|
775
787
|
@DisableRecord = params['DisableRecord']
|
776
788
|
@Assistants = params['Assistants']
|
789
|
+
@RTCAudienceNumber = params['RTCAudienceNumber']
|
790
|
+
@AudienceType = params['AudienceType']
|
777
791
|
@RecordLayout = params['RecordLayout']
|
778
792
|
@GroupId = params['GroupId']
|
779
793
|
end
|
@@ -2247,6 +2261,69 @@ module TencentCloud
|
|
2247
2261
|
end
|
2248
2262
|
end
|
2249
2263
|
|
2264
|
+
# GetRooms请求参数结构体
|
2265
|
+
class GetRoomsRequest < TencentCloud::Common::AbstractModel
|
2266
|
+
# @param SdkAppId: 低代码平台的SdkAppId。
|
2267
|
+
# @type SdkAppId: Integer
|
2268
|
+
# @param StartTime: 开始时间。默认以当前时间减去半小时作为开始时间。
|
2269
|
+
# @type StartTime: Integer
|
2270
|
+
# @param EndTime: 结束时间。默认以当前时间加上半小时作为结束时间。
|
2271
|
+
# @type EndTime: Integer
|
2272
|
+
# @param Page: 分页查询当前页数,从1开始递增
|
2273
|
+
# @type Page: Integer
|
2274
|
+
# @param Limit: 默认是10条
|
2275
|
+
# @type Limit: Integer
|
2276
|
+
|
2277
|
+
attr_accessor :SdkAppId, :StartTime, :EndTime, :Page, :Limit
|
2278
|
+
|
2279
|
+
def initialize(sdkappid=nil, starttime=nil, endtime=nil, page=nil, limit=nil)
|
2280
|
+
@SdkAppId = sdkappid
|
2281
|
+
@StartTime = starttime
|
2282
|
+
@EndTime = endtime
|
2283
|
+
@Page = page
|
2284
|
+
@Limit = limit
|
2285
|
+
end
|
2286
|
+
|
2287
|
+
def deserialize(params)
|
2288
|
+
@SdkAppId = params['SdkAppId']
|
2289
|
+
@StartTime = params['StartTime']
|
2290
|
+
@EndTime = params['EndTime']
|
2291
|
+
@Page = params['Page']
|
2292
|
+
@Limit = params['Limit']
|
2293
|
+
end
|
2294
|
+
end
|
2295
|
+
|
2296
|
+
# GetRooms返回参数结构体
|
2297
|
+
class GetRoomsResponse < TencentCloud::Common::AbstractModel
|
2298
|
+
# @param Total: 总数
|
2299
|
+
# @type Total: Integer
|
2300
|
+
# @param Rooms: 房间列表
|
2301
|
+
# @type Rooms: Array
|
2302
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2303
|
+
# @type RequestId: String
|
2304
|
+
|
2305
|
+
attr_accessor :Total, :Rooms, :RequestId
|
2306
|
+
|
2307
|
+
def initialize(total=nil, rooms=nil, requestid=nil)
|
2308
|
+
@Total = total
|
2309
|
+
@Rooms = rooms
|
2310
|
+
@RequestId = requestid
|
2311
|
+
end
|
2312
|
+
|
2313
|
+
def deserialize(params)
|
2314
|
+
@Total = params['Total']
|
2315
|
+
unless params['Rooms'].nil?
|
2316
|
+
@Rooms = []
|
2317
|
+
params['Rooms'].each do |i|
|
2318
|
+
roomitem_tmp = RoomItem.new
|
2319
|
+
roomitem_tmp.deserialize(i)
|
2320
|
+
@Rooms << roomitem_tmp
|
2321
|
+
end
|
2322
|
+
end
|
2323
|
+
@RequestId = params['RequestId']
|
2324
|
+
end
|
2325
|
+
end
|
2326
|
+
|
2250
2327
|
# GetWatermark请求参数结构体
|
2251
2328
|
class GetWatermarkRequest < TencentCloud::Common::AbstractModel
|
2252
2329
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
@@ -2990,6 +3067,75 @@ module TencentCloud
|
|
2990
3067
|
end
|
2991
3068
|
end
|
2992
3069
|
|
3070
|
+
# 房间列表
|
3071
|
+
class RoomItem < TencentCloud::Common::AbstractModel
|
3072
|
+
# @param Name: 名称
|
3073
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3074
|
+
# @type Name: String
|
3075
|
+
# @param RoomId: 房间ID
|
3076
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3077
|
+
# @type RoomId: Integer
|
3078
|
+
# @param Status: 房间状态。0 未开始 ;1进行中 ;2 已结束
|
3079
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3080
|
+
# @type Status: Integer
|
3081
|
+
# @param StartTime: 开始时间
|
3082
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3083
|
+
# @type StartTime: Integer
|
3084
|
+
# @param EndTime: 结束时间
|
3085
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3086
|
+
# @type EndTime: Integer
|
3087
|
+
# @param RealStartTime: 实际开始时间
|
3088
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3089
|
+
# @type RealStartTime: Integer
|
3090
|
+
# @param RealEndTime: 实际结束时间
|
3091
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3092
|
+
# @type RealEndTime: Integer
|
3093
|
+
# @param Resolution: 分辨率。1 标清
|
3094
|
+
# 2 高清
|
3095
|
+
# 3 全高清
|
3096
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3097
|
+
# @type Resolution: Integer
|
3098
|
+
# @param MaxRTCMember: 最大允许连麦人数
|
3099
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3100
|
+
# @type MaxRTCMember: Integer
|
3101
|
+
# @param ReplayUrl: 房间录制地址。已废弃,使用新字段 RecordUrl
|
3102
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3103
|
+
# @type ReplayUrl: String
|
3104
|
+
# @param RecordUrl: 录制地址(协议为https)。仅在房间结束后存在。
|
3105
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3106
|
+
# @type RecordUrl: String
|
3107
|
+
|
3108
|
+
attr_accessor :Name, :RoomId, :Status, :StartTime, :EndTime, :RealStartTime, :RealEndTime, :Resolution, :MaxRTCMember, :ReplayUrl, :RecordUrl
|
3109
|
+
|
3110
|
+
def initialize(name=nil, roomid=nil, status=nil, starttime=nil, endtime=nil, realstarttime=nil, realendtime=nil, resolution=nil, maxrtcmember=nil, replayurl=nil, recordurl=nil)
|
3111
|
+
@Name = name
|
3112
|
+
@RoomId = roomid
|
3113
|
+
@Status = status
|
3114
|
+
@StartTime = starttime
|
3115
|
+
@EndTime = endtime
|
3116
|
+
@RealStartTime = realstarttime
|
3117
|
+
@RealEndTime = realendtime
|
3118
|
+
@Resolution = resolution
|
3119
|
+
@MaxRTCMember = maxrtcmember
|
3120
|
+
@ReplayUrl = replayurl
|
3121
|
+
@RecordUrl = recordurl
|
3122
|
+
end
|
3123
|
+
|
3124
|
+
def deserialize(params)
|
3125
|
+
@Name = params['Name']
|
3126
|
+
@RoomId = params['RoomId']
|
3127
|
+
@Status = params['Status']
|
3128
|
+
@StartTime = params['StartTime']
|
3129
|
+
@EndTime = params['EndTime']
|
3130
|
+
@RealStartTime = params['RealStartTime']
|
3131
|
+
@RealEndTime = params['RealEndTime']
|
3132
|
+
@Resolution = params['Resolution']
|
3133
|
+
@MaxRTCMember = params['MaxRTCMember']
|
3134
|
+
@ReplayUrl = params['ReplayUrl']
|
3135
|
+
@RecordUrl = params['RecordUrl']
|
3136
|
+
end
|
3137
|
+
end
|
3138
|
+
|
2993
3139
|
# 场景配置
|
2994
3140
|
class SceneItem < TencentCloud::Common::AbstractModel
|
2995
3141
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-lcic
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.548
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-04-
|
11
|
+
date: 2023-04-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|