tencentcloud-sdk-trtc 3.0.888 → 3.0.889
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/v20190722/client.rb +24 -0
- data/lib/v20190722/models.rb +44 -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: 108d3df3b2056ff7413832f4c54aa4581e64e5d8
|
4
|
+
data.tar.gz: a977e9cd960623a6a16e5ce86a87b615de995428
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5df5e25aecf82cb455f3cf8dd93e4ff4bc67c3509f2e0b4a0fb5104652cd10b7dae3175bb54bd47f3885f082245089b311688edaea0f5fe333353bc8eb49d83
|
7
|
+
data.tar.gz: ef3c6e41b50d9693258e472c782dc252b86adc04b42390aa5f2d1933a2b827ca9bc930de7b898d387eb77bef7d5dfe6d0fb90a94e81b457c35f238f927864cd4
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.889
|
data/lib/v20190722/client.rb
CHANGED
@@ -1533,6 +1533,30 @@ module TencentCloud
|
|
1533
1533
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1534
1534
|
end
|
1535
1535
|
|
1536
|
+
# 更新输入在线媒体流任务的StreamUrl
|
1537
|
+
|
1538
|
+
# @param request: Request instance for UpdateStreamIngest.
|
1539
|
+
# @type request: :class:`Tencentcloud::trtc::V20190722::UpdateStreamIngestRequest`
|
1540
|
+
# @rtype: :class:`Tencentcloud::trtc::V20190722::UpdateStreamIngestResponse`
|
1541
|
+
def UpdateStreamIngest(request)
|
1542
|
+
body = send_request('UpdateStreamIngest', request.serialize)
|
1543
|
+
response = JSON.parse(body)
|
1544
|
+
if response['Response'].key?('Error') == false
|
1545
|
+
model = UpdateStreamIngestResponse.new
|
1546
|
+
model.deserialize(response['Response'])
|
1547
|
+
model
|
1548
|
+
else
|
1549
|
+
code = response['Response']['Error']['Code']
|
1550
|
+
message = response['Response']['Error']['Message']
|
1551
|
+
reqid = response['Response']['RequestId']
|
1552
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
|
1553
|
+
end
|
1554
|
+
rescue TencentCloud::Common::TencentCloudSDKException => e
|
1555
|
+
raise e
|
1556
|
+
rescue StandardError => e
|
1557
|
+
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
1558
|
+
end
|
1559
|
+
|
1536
1560
|
|
1537
1561
|
end
|
1538
1562
|
end
|
data/lib/v20190722/models.rb
CHANGED
@@ -5300,6 +5300,50 @@ module TencentCloud
|
|
5300
5300
|
end
|
5301
5301
|
end
|
5302
5302
|
|
5303
|
+
# UpdateStreamIngest请求参数结构体
|
5304
|
+
class UpdateStreamIngestRequest < TencentCloud::Common::AbstractModel
|
5305
|
+
# @param SdkAppId: TRTC的SDKAppId,和任务的房间所对应的SDKAppId相同
|
5306
|
+
# @type SdkAppId: Integer
|
5307
|
+
# @param TaskId: 任务的唯一Id,在启动任务成功后会返回。
|
5308
|
+
# @type TaskId: String
|
5309
|
+
# @param StreamUrl: 源流URL【必填】。
|
5310
|
+
# @type StreamUrl: String
|
5311
|
+
|
5312
|
+
attr_accessor :SdkAppId, :TaskId, :StreamUrl
|
5313
|
+
|
5314
|
+
def initialize(sdkappid=nil, taskid=nil, streamurl=nil)
|
5315
|
+
@SdkAppId = sdkappid
|
5316
|
+
@TaskId = taskid
|
5317
|
+
@StreamUrl = streamurl
|
5318
|
+
end
|
5319
|
+
|
5320
|
+
def deserialize(params)
|
5321
|
+
@SdkAppId = params['SdkAppId']
|
5322
|
+
@TaskId = params['TaskId']
|
5323
|
+
@StreamUrl = params['StreamUrl']
|
5324
|
+
end
|
5325
|
+
end
|
5326
|
+
|
5327
|
+
# UpdateStreamIngest返回参数结构体
|
5328
|
+
class UpdateStreamIngestResponse < TencentCloud::Common::AbstractModel
|
5329
|
+
# @param Status: 任务的状态信息。InProgress:表示当前任务正在进行中。NotExist:表示当前任务不存在。示例值:InProgress
|
5330
|
+
# @type Status: String
|
5331
|
+
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
5332
|
+
# @type RequestId: String
|
5333
|
+
|
5334
|
+
attr_accessor :Status, :RequestId
|
5335
|
+
|
5336
|
+
def initialize(status=nil, requestid=nil)
|
5337
|
+
@Status = status
|
5338
|
+
@RequestId = requestid
|
5339
|
+
end
|
5340
|
+
|
5341
|
+
def deserialize(params)
|
5342
|
+
@Status = params['Status']
|
5343
|
+
@RequestId = params['RequestId']
|
5344
|
+
end
|
5345
|
+
end
|
5346
|
+
|
5303
5347
|
# 用户信息,包括用户进房时间,退房时间等
|
5304
5348
|
class UserInformation < TencentCloud::Common::AbstractModel
|
5305
5349
|
# @param RoomStr: 房间号
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-trtc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.889
|
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-08-
|
11
|
+
date: 2024-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|