tencentcloud-sdk-lcic 3.0.944 → 3.0.946
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220817/client.rb +72 -0
- data/lib/v20220817/models.rb +185 -3
- 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: ff29cced408d9c99499c9767b7498cc110a46a40
|
4
|
+
data.tar.gz: 9fb1c21caacc69ab1771ef29b7d43cad302db0de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecfcc5f863e345195e2ea0aef24bc36ec55d581f9d7100d5addd9d0ba92470657f005786b592a138397b0ee5414b9d9aa00a0560662408558c422d08f13cef7e
|
7
|
+
data.tar.gz: 96d9cfe4d66f3c9c3ef888380407a5381ca3720e6213025e8af264969cb6cf58c2d8166b9f044700d1afd186c1430264e452d72d7ee3c6ee31df4591e6a29667
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.946
|
data/lib/v20220817/client.rb
CHANGED
@@ -823,6 +823,30 @@ module TencentCloud
|
|
823
823
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
824
824
|
end
|
825
825
|
|
826
|
+
# 查询录制信息
|
827
|
+
|
828
|
+
# @param request: Request instance for DescribeRecord.
|
829
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::DescribeRecordRequest`
|
830
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::DescribeRecordResponse`
|
831
|
+
def DescribeRecord(request)
|
832
|
+
body = send_request('DescribeRecord', request.serialize)
|
833
|
+
response = JSON.parse(body)
|
834
|
+
if response['Response'].key?('Error') == false
|
835
|
+
model = DescribeRecordResponse.new
|
836
|
+
model.deserialize(response['Response'])
|
837
|
+
model
|
838
|
+
else
|
839
|
+
code = response['Response']['Error']['Code']
|
840
|
+
message = response['Response']['Error']['Message']
|
841
|
+
reqid = response['Response']['RequestId']
|
842
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
843
|
+
end
|
844
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
845
|
+
raise e
|
846
|
+
rescue StandardError => e
|
847
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
848
|
+
end
|
849
|
+
|
826
850
|
# 录制流查询
|
827
851
|
|
828
852
|
# @param request: Request instance for DescribeRecordStream.
|
@@ -1449,6 +1473,30 @@ module TencentCloud
|
|
1449
1473
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1450
1474
|
end
|
1451
1475
|
|
1476
|
+
# 开始录制
|
1477
|
+
|
1478
|
+
# @param request: Request instance for StartRecord.
|
1479
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::StartRecordRequest`
|
1480
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::StartRecordResponse`
|
1481
|
+
def StartRecord(request)
|
1482
|
+
body = send_request('StartRecord', request.serialize)
|
1483
|
+
response = JSON.parse(body)
|
1484
|
+
if response['Response'].key?('Error') == false
|
1485
|
+
model = StartRecordResponse.new
|
1486
|
+
model.deserialize(response['Response'])
|
1487
|
+
model
|
1488
|
+
else
|
1489
|
+
code = response['Response']['Error']['Code']
|
1490
|
+
message = response['Response']['Error']['Message']
|
1491
|
+
reqid = response['Response']['RequestId']
|
1492
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1493
|
+
end
|
1494
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1495
|
+
raise e
|
1496
|
+
rescue StandardError => e
|
1497
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1498
|
+
end
|
1499
|
+
|
1452
1500
|
# 开始房间的直播。 说明:开始房间接口调用之前需要有用户进入课堂初始化课堂信息。
|
1453
1501
|
|
1454
1502
|
# @param request: Request instance for StartRoom.
|
@@ -1473,6 +1521,30 @@ module TencentCloud
|
|
1473
1521
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1474
1522
|
end
|
1475
1523
|
|
1524
|
+
# 停止录制
|
1525
|
+
|
1526
|
+
# @param request: Request instance for StopRecord.
|
1527
|
+
# @type request: :class:`Tencentcloud::lcic::V20220817::StopRecordRequest`
|
1528
|
+
# @rtype: :class:`Tencentcloud::lcic::V20220817::StopRecordResponse`
|
1529
|
+
def StopRecord(request)
|
1530
|
+
body = send_request('StopRecord', request.serialize)
|
1531
|
+
response = JSON.parse(body)
|
1532
|
+
if response['Response'].key?('Error') == false
|
1533
|
+
model = StopRecordResponse.new
|
1534
|
+
model.deserialize(response['Response'])
|
1535
|
+
model
|
1536
|
+
else
|
1537
|
+
code = response['Response']['Error']['Code']
|
1538
|
+
message = response['Response']['Error']['Message']
|
1539
|
+
reqid = response['Response']['RequestId']
|
1540
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1541
|
+
end
|
1542
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1543
|
+
raise e
|
1544
|
+
rescue StandardError => e
|
1545
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1546
|
+
end
|
1547
|
+
|
1476
1548
|
# 文档从房间解绑
|
1477
1549
|
|
1478
1550
|
# @param request: Request instance for UnbindDocumentFromRoom.
|
data/lib/v20220817/models.rb
CHANGED
@@ -866,7 +866,7 @@ module TencentCloud
|
|
866
866
|
# @type EndTime: Integer
|
867
867
|
# @param SdkAppId: 低代码互动课堂的SdkAppId。
|
868
868
|
# @type SdkAppId: Integer
|
869
|
-
# @param Resolution:
|
869
|
+
# @param Resolution: 头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
870
870
|
# 1 标清
|
871
871
|
# 2 高清
|
872
872
|
# 3 全高清
|
@@ -1095,6 +1095,50 @@ module TencentCloud
|
|
1095
1095
|
end
|
1096
1096
|
end
|
1097
1097
|
|
1098
|
+
# 自定义录制信息
|
1099
|
+
class CustomRecordInfo < TencentCloud::Common::AbstractModel
|
1100
|
+
# @param StartTime: 开始时间
|
1101
|
+
# @type StartTime: Integer
|
1102
|
+
# @param StopTime: 结束时间
|
1103
|
+
# @type StopTime: Integer
|
1104
|
+
# @param Duration: 总时长
|
1105
|
+
# @type Duration: Integer
|
1106
|
+
# @param FileFormat: 文件格式
|
1107
|
+
# @type FileFormat: String
|
1108
|
+
# @param RecordUrl: 流url
|
1109
|
+
# @type RecordUrl: String
|
1110
|
+
# @param RecordSize: 流大小
|
1111
|
+
# @type RecordSize: Integer
|
1112
|
+
# @param VideoId: 流ID
|
1113
|
+
# @type VideoId: String
|
1114
|
+
# @param TaskId: 任务Id
|
1115
|
+
# @type TaskId: String
|
1116
|
+
|
1117
|
+
attr_accessor :StartTime, :StopTime, :Duration, :FileFormat, :RecordUrl, :RecordSize, :VideoId, :TaskId
|
1118
|
+
|
1119
|
+
def initialize(starttime=nil, stoptime=nil, duration=nil, fileformat=nil, recordurl=nil, recordsize=nil, videoid=nil, taskid=nil)
|
1120
|
+
@StartTime = starttime
|
1121
|
+
@StopTime = stoptime
|
1122
|
+
@Duration = duration
|
1123
|
+
@FileFormat = fileformat
|
1124
|
+
@RecordUrl = recordurl
|
1125
|
+
@RecordSize = recordsize
|
1126
|
+
@VideoId = videoid
|
1127
|
+
@TaskId = taskid
|
1128
|
+
end
|
1129
|
+
|
1130
|
+
def deserialize(params)
|
1131
|
+
@StartTime = params['StartTime']
|
1132
|
+
@StopTime = params['StopTime']
|
1133
|
+
@Duration = params['Duration']
|
1134
|
+
@FileFormat = params['FileFormat']
|
1135
|
+
@RecordUrl = params['RecordUrl']
|
1136
|
+
@RecordSize = params['RecordSize']
|
1137
|
+
@VideoId = params['VideoId']
|
1138
|
+
@TaskId = params['TaskId']
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1098
1142
|
# DeleteAppCustomContent请求参数结构体
|
1099
1143
|
class DeleteAppCustomContentRequest < TencentCloud::Common::AbstractModel
|
1100
1144
|
# @param SdkAppId: 应用ID。
|
@@ -2064,6 +2108,61 @@ module TencentCloud
|
|
2064
2108
|
end
|
2065
2109
|
end
|
2066
2110
|
|
2111
|
+
# DescribeRecord请求参数结构体
|
2112
|
+
class DescribeRecordRequest < TencentCloud::Common::AbstractModel
|
2113
|
+
# @param SdkAppId: 学校ID
|
2114
|
+
# @type SdkAppId: Integer
|
2115
|
+
# @param RoomId: 房间ID
|
2116
|
+
# @type RoomId: Integer
|
2117
|
+
|
2118
|
+
attr_accessor :SdkAppId, :RoomId
|
2119
|
+
|
2120
|
+
def initialize(sdkappid=nil, roomid=nil)
|
2121
|
+
@SdkAppId = sdkappid
|
2122
|
+
@RoomId = roomid
|
2123
|
+
end
|
2124
|
+
|
2125
|
+
def deserialize(params)
|
2126
|
+
@SdkAppId = params['SdkAppId']
|
2127
|
+
@RoomId = params['RoomId']
|
2128
|
+
end
|
2129
|
+
end
|
2130
|
+
|
2131
|
+
# DescribeRecord返回参数结构体
|
2132
|
+
class DescribeRecordResponse < TencentCloud::Common::AbstractModel
|
2133
|
+
# @param SchoolId: 学校ID
|
2134
|
+
# @type SchoolId: Integer
|
2135
|
+
# @param ClassId: 课堂ID
|
2136
|
+
# @type ClassId: Integer
|
2137
|
+
# @param RecordInfo: 录制信息
|
2138
|
+
# @type RecordInfo: Array
|
2139
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
2140
|
+
# @type RequestId: String
|
2141
|
+
|
2142
|
+
attr_accessor :SchoolId, :ClassId, :RecordInfo, :RequestId
|
2143
|
+
|
2144
|
+
def initialize(schoolid=nil, classid=nil, recordinfo=nil, requestid=nil)
|
2145
|
+
@SchoolId = schoolid
|
2146
|
+
@ClassId = classid
|
2147
|
+
@RecordInfo = recordinfo
|
2148
|
+
@RequestId = requestid
|
2149
|
+
end
|
2150
|
+
|
2151
|
+
def deserialize(params)
|
2152
|
+
@SchoolId = params['SchoolId']
|
2153
|
+
@ClassId = params['ClassId']
|
2154
|
+
unless params['RecordInfo'].nil?
|
2155
|
+
@RecordInfo = []
|
2156
|
+
params['RecordInfo'].each do |i|
|
2157
|
+
customrecordinfo_tmp = CustomRecordInfo.new
|
2158
|
+
customrecordinfo_tmp.deserialize(i)
|
2159
|
+
@RecordInfo << customrecordinfo_tmp
|
2160
|
+
end
|
2161
|
+
end
|
2162
|
+
@RequestId = params['RequestId']
|
2163
|
+
end
|
2164
|
+
end
|
2165
|
+
|
2067
2166
|
# DescribeRecordStream请求参数结构体
|
2068
2167
|
class DescribeRecordStreamRequest < TencentCloud::Common::AbstractModel
|
2069
2168
|
# @param SdkAppId: 学校ID
|
@@ -2205,7 +2304,7 @@ module TencentCloud
|
|
2205
2304
|
# @type SdkAppId: Integer
|
2206
2305
|
# @param AudienceType: 观看类型。互动观看 (默认)
|
2207
2306
|
# @type AudienceType: Integer
|
2208
|
-
# @param Resolution:
|
2307
|
+
# @param Resolution: 头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
2209
2308
|
# 1 标清
|
2210
2309
|
# 2 高清
|
2211
2310
|
# 3 全高清
|
@@ -4104,7 +4203,10 @@ module TencentCloud
|
|
4104
4203
|
# @type StartTime: Integer
|
4105
4204
|
# @param EndTime: 预定的房间结束时间,unix时间戳。
|
4106
4205
|
# @type EndTime: Integer
|
4107
|
-
# @param Resolution:
|
4206
|
+
# @param Resolution: 头像区域,摄像头视频画面的分辨率。可以有如下取值:
|
4207
|
+
# 1 标清
|
4208
|
+
# 2 高清
|
4209
|
+
# 3 全高清
|
4108
4210
|
# @type Resolution: Integer
|
4109
4211
|
# @param MaxMicNumber: 设置房间/课堂同时最大可与老师进行连麦互动的人数,该参数支持正式上课/开播前调用修改房间修改。小班课取值范围[0,16],大班课取值范围[0,1],当取值为0时表示当前课堂/直播,不支持连麦互动。
|
4110
4212
|
# @type MaxMicNumber: Integer
|
@@ -4683,6 +4785,46 @@ module TencentCloud
|
|
4683
4785
|
end
|
4684
4786
|
end
|
4685
4787
|
|
4788
|
+
# StartRecord请求参数结构体
|
4789
|
+
class StartRecordRequest < TencentCloud::Common::AbstractModel
|
4790
|
+
# @param SdkAppId: 学校ID
|
4791
|
+
# @type SdkAppId: Integer
|
4792
|
+
# @param RoomId: 房间ID
|
4793
|
+
# @type RoomId: Integer
|
4794
|
+
|
4795
|
+
attr_accessor :SdkAppId, :RoomId
|
4796
|
+
|
4797
|
+
def initialize(sdkappid=nil, roomid=nil)
|
4798
|
+
@SdkAppId = sdkappid
|
4799
|
+
@RoomId = roomid
|
4800
|
+
end
|
4801
|
+
|
4802
|
+
def deserialize(params)
|
4803
|
+
@SdkAppId = params['SdkAppId']
|
4804
|
+
@RoomId = params['RoomId']
|
4805
|
+
end
|
4806
|
+
end
|
4807
|
+
|
4808
|
+
# StartRecord返回参数结构体
|
4809
|
+
class StartRecordResponse < TencentCloud::Common::AbstractModel
|
4810
|
+
# @param TaskId: 任务ID
|
4811
|
+
# @type TaskId: String
|
4812
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4813
|
+
# @type RequestId: String
|
4814
|
+
|
4815
|
+
attr_accessor :TaskId, :RequestId
|
4816
|
+
|
4817
|
+
def initialize(taskid=nil, requestid=nil)
|
4818
|
+
@TaskId = taskid
|
4819
|
+
@RequestId = requestid
|
4820
|
+
end
|
4821
|
+
|
4822
|
+
def deserialize(params)
|
4823
|
+
@TaskId = params['TaskId']
|
4824
|
+
@RequestId = params['RequestId']
|
4825
|
+
end
|
4826
|
+
end
|
4827
|
+
|
4686
4828
|
# StartRoom请求参数结构体
|
4687
4829
|
class StartRoomRequest < TencentCloud::Common::AbstractModel
|
4688
4830
|
# @param RoomId: 房间ID。
|
@@ -4715,6 +4857,46 @@ module TencentCloud
|
|
4715
4857
|
end
|
4716
4858
|
end
|
4717
4859
|
|
4860
|
+
# StopRecord请求参数结构体
|
4861
|
+
class StopRecordRequest < TencentCloud::Common::AbstractModel
|
4862
|
+
# @param SdkAppId: 学校ID
|
4863
|
+
# @type SdkAppId: Integer
|
4864
|
+
# @param RoomId: 房间ID
|
4865
|
+
# @type RoomId: Integer
|
4866
|
+
# @param TaskId: 任务ID
|
4867
|
+
# @type TaskId: String
|
4868
|
+
|
4869
|
+
attr_accessor :SdkAppId, :RoomId, :TaskId
|
4870
|
+
|
4871
|
+
def initialize(sdkappid=nil, roomid=nil, taskid=nil)
|
4872
|
+
@SdkAppId = sdkappid
|
4873
|
+
@RoomId = roomid
|
4874
|
+
@TaskId = taskid
|
4875
|
+
end
|
4876
|
+
|
4877
|
+
def deserialize(params)
|
4878
|
+
@SdkAppId = params['SdkAppId']
|
4879
|
+
@RoomId = params['RoomId']
|
4880
|
+
@TaskId = params['TaskId']
|
4881
|
+
end
|
4882
|
+
end
|
4883
|
+
|
4884
|
+
# StopRecord返回参数结构体
|
4885
|
+
class StopRecordResponse < TencentCloud::Common::AbstractModel
|
4886
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4887
|
+
# @type RequestId: String
|
4888
|
+
|
4889
|
+
attr_accessor :RequestId
|
4890
|
+
|
4891
|
+
def initialize(requestid=nil)
|
4892
|
+
@RequestId = requestid
|
4893
|
+
end
|
4894
|
+
|
4895
|
+
def deserialize(params)
|
4896
|
+
@RequestId = params['RequestId']
|
4897
|
+
end
|
4898
|
+
end
|
4899
|
+
|
4718
4900
|
# 文字水印配置
|
4719
4901
|
class TextMarkConfig < TencentCloud::Common::AbstractModel
|
4720
4902
|
# @param Text: 文字水印内容
|
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.946
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-11-
|
11
|
+
date: 2024-11-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|