tencentcloud-sdk-tiw 1.0.312 → 1.0.313
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/v20190919/models.rb +52 -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: 515ba8937ba4605eac5b65fbfc0cf39a996000bf
|
4
|
+
data.tar.gz: aa227631d4086c9d748ca58dd3b3a9f807562132
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd8f3c71f04484b9e939dc5e3c5beb8955da51a8c474c248f677b79160b95ac1819d8f31bf3e48e1a9628665d307d9cd7bdd062a990780434c7e38337355ea94
|
7
|
+
data.tar.gz: 5c070c18f9d41cfdc273615a86d8f3dfc9f169f07421876447a03ee69f638ae328b635cedf18ed217a26fbcdb2f2951b1eac30797c64725ae890ea937ce703c5
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.0.
|
1
|
+
1.0.313
|
data/lib/v20190919/models.rb
CHANGED
@@ -17,6 +17,30 @@
|
|
17
17
|
module TencentCloud
|
18
18
|
module Tiw
|
19
19
|
module V20190919
|
20
|
+
# 鉴权参数
|
21
|
+
class AuthParam < TencentCloud::Common::AbstractModel
|
22
|
+
# @param SdkAppId: 应用SdkAppId
|
23
|
+
# @type SdkAppId: Integer
|
24
|
+
# @param UserId: 用户ID
|
25
|
+
# @type UserId: String
|
26
|
+
# @param UserSig: 用户ID对应的签名
|
27
|
+
# @type UserSig: String
|
28
|
+
|
29
|
+
attr_accessor :SdkAppId, :UserId, :UserSig
|
30
|
+
|
31
|
+
def initialize(sdkappid=nil, userid=nil, usersig=nil)
|
32
|
+
@SdkAppId = sdkappid
|
33
|
+
@UserId = userid
|
34
|
+
@UserSig = usersig
|
35
|
+
end
|
36
|
+
|
37
|
+
def deserialize(params)
|
38
|
+
@SdkAppId = params['SdkAppId']
|
39
|
+
@UserId = params['UserId']
|
40
|
+
@UserSig = params['UserSig']
|
41
|
+
end
|
42
|
+
end
|
43
|
+
|
20
44
|
# 混流画布参数
|
21
45
|
class Canvas < TencentCloud::Common::AbstractModel
|
22
46
|
# @param LayoutParams: 混流画布宽高配置
|
@@ -1806,7 +1830,8 @@ module TencentCloud
|
|
1806
1830
|
|
1807
1831
|
# 在没有指定TRTCRoomId和TRTCRoomIdStr的情况下,默认会以RoomId作为白板流进行推流的TRTC房间号。
|
1808
1832
|
# @type RoomId: Integer
|
1809
|
-
# @param PushUserId:
|
1833
|
+
# @param PushUserId: 用于白板推流服务进入白板房间的用户ID。在没有进行额外指定的情况下,这个用户ID同时会用于IM登录、IM加群、TRTC进房推流等操作。
|
1834
|
+
# 用户ID最大长度不能大于60个字节,该ID必须是一个单独的未在SDK中使用的ID,白板推流服务使用这个用户ID进入房间进行白板音视频推流,若该ID和SDK中使用的ID重复,会导致SDK和白板推流服务互踢,影响正常推流。
|
1810
1835
|
# @type PushUserId: String
|
1811
1836
|
# @param PushUserSig: 与PushUserId对应的签名
|
1812
1837
|
# @type PushUserSig: String
|
@@ -1880,10 +1905,24 @@ module TencentCloud
|
|
1880
1905
|
|
1881
1906
|
# 在指定了TRTCRoomIdStr的情况下,会优先使用TRTCRoomIdStr作为白板流进行推流的TRTC房间号。
|
1882
1907
|
# @type TRTCRoomIdStr: String
|
1908
|
+
# @param IMAuthParam: 内测参数,需开通白名单进行体验。
|
1909
|
+
|
1910
|
+
# IM鉴权信息参数,用于IM鉴权。
|
1911
|
+
# 当白板信令所使用的IM应用与白板应用的SdkAppId不一致时,可以通过此参数提供对应IM应用鉴权信息。
|
1883
1912
|
|
1884
|
-
|
1913
|
+
# 如果提供了此参数,白板推流服务会优先使用此参数指定的SdkAppId作为白板信令的传输通道,否则使用公共参数中的SdkAppId作为白板信令的传输通道。
|
1914
|
+
# @type IMAuthParam: :class:`Tencentcloud::Tiw.v20190919.models.AuthParam`
|
1915
|
+
# @param TRTCAuthParam: 内测参数,需开通白名单进行体验。
|
1916
|
+
|
1917
|
+
# TRTC鉴权信息参数,用于TRTC进房推流鉴权。
|
1918
|
+
# 当需要推流到的TRTC房间所对应的TRTC应用与白板应用的SdkAppId不一致时,可以通过此参数提供对应的TRTC应用鉴权信息。
|
1919
|
+
|
1920
|
+
# 如果提供了此参数,白板推流服务会优先使用此参数指定的SdkAppId作为白板推流的目标TRTC应用,否则使用公共参数中的SdkAppId作为白板推流的目标TRTC应用。
|
1921
|
+
# @type TRTCAuthParam: :class:`Tencentcloud::Tiw.v20190919.models.AuthParam`
|
1922
|
+
|
1923
|
+
attr_accessor :SdkAppId, :RoomId, :PushUserId, :PushUserSig, :Whiteboard, :AutoStopTimeout, :AutoManageBackup, :Backup, :PrivateMapKey, :VideoFPS, :VideoBitrate, :AutoRecord, :UserDefinedRecordId, :AutoPublish, :UserDefinedStreamId, :ExtraData, :TRTCRoomId, :TRTCRoomIdStr, :IMAuthParam, :TRTCAuthParam
|
1885
1924
|
|
1886
|
-
def initialize(sdkappid=nil, roomid=nil, pushuserid=nil, pushusersig=nil, whiteboard=nil, autostoptimeout=nil, automanagebackup=nil, backup=nil, privatemapkey=nil, videofps=nil, videobitrate=nil, autorecord=nil, userdefinedrecordid=nil, autopublish=nil, userdefinedstreamid=nil, extradata=nil, trtcroomid=nil, trtcroomidstr=nil)
|
1925
|
+
def initialize(sdkappid=nil, roomid=nil, pushuserid=nil, pushusersig=nil, whiteboard=nil, autostoptimeout=nil, automanagebackup=nil, backup=nil, privatemapkey=nil, videofps=nil, videobitrate=nil, autorecord=nil, userdefinedrecordid=nil, autopublish=nil, userdefinedstreamid=nil, extradata=nil, trtcroomid=nil, trtcroomidstr=nil, imauthparam=nil, trtcauthparam=nil)
|
1887
1926
|
@SdkAppId = sdkappid
|
1888
1927
|
@RoomId = roomid
|
1889
1928
|
@PushUserId = pushuserid
|
@@ -1902,6 +1941,8 @@ module TencentCloud
|
|
1902
1941
|
@ExtraData = extradata
|
1903
1942
|
@TRTCRoomId = trtcroomid
|
1904
1943
|
@TRTCRoomIdStr = trtcroomidstr
|
1944
|
+
@IMAuthParam = imauthparam
|
1945
|
+
@TRTCAuthParam = trtcauthparam
|
1905
1946
|
end
|
1906
1947
|
|
1907
1948
|
def deserialize(params)
|
@@ -1929,6 +1970,14 @@ module TencentCloud
|
|
1929
1970
|
@ExtraData = params['ExtraData']
|
1930
1971
|
@TRTCRoomId = params['TRTCRoomId']
|
1931
1972
|
@TRTCRoomIdStr = params['TRTCRoomIdStr']
|
1973
|
+
unless params['IMAuthParam'].nil?
|
1974
|
+
@IMAuthParam = AuthParam.new
|
1975
|
+
@IMAuthParam.deserialize(params['IMAuthParam'])
|
1976
|
+
end
|
1977
|
+
unless params['TRTCAuthParam'].nil?
|
1978
|
+
@TRTCAuthParam = AuthParam.new
|
1979
|
+
@TRTCAuthParam.deserialize(params['TRTCAuthParam'])
|
1980
|
+
end
|
1932
1981
|
end
|
1933
1982
|
end
|
1934
1983
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tencentcloud-sdk-tiw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.313
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tencent Cloud
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-05-
|
11
|
+
date: 2022-05-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|