tencentcloud-sdk-lcic 3.0.944 → 3.0.945
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 +72 -0
- data/lib/v20220817/models.rb +179 -0
- 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: 38e7b3c06a79355c216ae4e3493255d1a06c34d3
|
4
|
+
data.tar.gz: 9d285bd8fee82e67f3f3a2de56040e76136f8936
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3297c919ba93631e4ffddac25e4ad3f56b736a4f7749271c902d6383cc09cc69727ae6f1f9a0fe74e3805c1ae1b8f002ddabfe3a608cdcaa37a23eb49915d14
|
7
|
+
data.tar.gz: e81282b11a35decbebe3b72ed1070a4e5161a8373b0e18562a8ba04739cb4d0d9b88d25e8f3c35a61d3232b4092941c5806750d594bce444cefbadeec5d6201f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.945
|
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
@@ -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
|
@@ -4683,6 +4782,46 @@ module TencentCloud
|
|
4683
4782
|
end
|
4684
4783
|
end
|
4685
4784
|
|
4785
|
+
# StartRecord请求参数结构体
|
4786
|
+
class StartRecordRequest < TencentCloud::Common::AbstractModel
|
4787
|
+
# @param SdkAppId: 学校ID
|
4788
|
+
# @type SdkAppId: Integer
|
4789
|
+
# @param RoomId: 房间ID
|
4790
|
+
# @type RoomId: Integer
|
4791
|
+
|
4792
|
+
attr_accessor :SdkAppId, :RoomId
|
4793
|
+
|
4794
|
+
def initialize(sdkappid=nil, roomid=nil)
|
4795
|
+
@SdkAppId = sdkappid
|
4796
|
+
@RoomId = roomid
|
4797
|
+
end
|
4798
|
+
|
4799
|
+
def deserialize(params)
|
4800
|
+
@SdkAppId = params['SdkAppId']
|
4801
|
+
@RoomId = params['RoomId']
|
4802
|
+
end
|
4803
|
+
end
|
4804
|
+
|
4805
|
+
# StartRecord返回参数结构体
|
4806
|
+
class StartRecordResponse < TencentCloud::Common::AbstractModel
|
4807
|
+
# @param TaskId: 任务ID
|
4808
|
+
# @type TaskId: String
|
4809
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4810
|
+
# @type RequestId: String
|
4811
|
+
|
4812
|
+
attr_accessor :TaskId, :RequestId
|
4813
|
+
|
4814
|
+
def initialize(taskid=nil, requestid=nil)
|
4815
|
+
@TaskId = taskid
|
4816
|
+
@RequestId = requestid
|
4817
|
+
end
|
4818
|
+
|
4819
|
+
def deserialize(params)
|
4820
|
+
@TaskId = params['TaskId']
|
4821
|
+
@RequestId = params['RequestId']
|
4822
|
+
end
|
4823
|
+
end
|
4824
|
+
|
4686
4825
|
# StartRoom请求参数结构体
|
4687
4826
|
class StartRoomRequest < TencentCloud::Common::AbstractModel
|
4688
4827
|
# @param RoomId: 房间ID。
|
@@ -4715,6 +4854,46 @@ module TencentCloud
|
|
4715
4854
|
end
|
4716
4855
|
end
|
4717
4856
|
|
4857
|
+
# StopRecord请求参数结构体
|
4858
|
+
class StopRecordRequest < TencentCloud::Common::AbstractModel
|
4859
|
+
# @param SdkAppId: 学校ID
|
4860
|
+
# @type SdkAppId: Integer
|
4861
|
+
# @param RoomId: 房间ID
|
4862
|
+
# @type RoomId: Integer
|
4863
|
+
# @param TaskId: 任务ID
|
4864
|
+
# @type TaskId: String
|
4865
|
+
|
4866
|
+
attr_accessor :SdkAppId, :RoomId, :TaskId
|
4867
|
+
|
4868
|
+
def initialize(sdkappid=nil, roomid=nil, taskid=nil)
|
4869
|
+
@SdkAppId = sdkappid
|
4870
|
+
@RoomId = roomid
|
4871
|
+
@TaskId = taskid
|
4872
|
+
end
|
4873
|
+
|
4874
|
+
def deserialize(params)
|
4875
|
+
@SdkAppId = params['SdkAppId']
|
4876
|
+
@RoomId = params['RoomId']
|
4877
|
+
@TaskId = params['TaskId']
|
4878
|
+
end
|
4879
|
+
end
|
4880
|
+
|
4881
|
+
# StopRecord返回参数结构体
|
4882
|
+
class StopRecordResponse < TencentCloud::Common::AbstractModel
|
4883
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
4884
|
+
# @type RequestId: String
|
4885
|
+
|
4886
|
+
attr_accessor :RequestId
|
4887
|
+
|
4888
|
+
def initialize(requestid=nil)
|
4889
|
+
@RequestId = requestid
|
4890
|
+
end
|
4891
|
+
|
4892
|
+
def deserialize(params)
|
4893
|
+
@RequestId = params['RequestId']
|
4894
|
+
end
|
4895
|
+
end
|
4896
|
+
|
4718
4897
|
# 文字水印配置
|
4719
4898
|
class TextMarkConfig < TencentCloud::Common::AbstractModel
|
4720
4899
|
# @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.945
|
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-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|