1
This commit is contained in:
24
target/tencent_sdk_trtc.lua
Normal file
24
target/tencent_sdk_trtc.lua
Normal file
@@ -0,0 +1,24 @@
|
||||
local tencent_sdk_trtc = {}
|
||||
tencent_sdk_trtc.__index = tencent_sdk_trtc
|
||||
|
||||
--[[
|
||||
创建一个新的 tencent_cos 对象
|
||||
@return 返回一个新的 tencent_sdk_trtc 对象
|
||||
]]
|
||||
function tencent_sdk_trtc.new(db)
|
||||
local instance = setmetatable({}, tencent_sdk_trtc)
|
||||
if db == nil then
|
||||
instance.module = fw_tencent_sdk_trtc.new()
|
||||
else
|
||||
instance.module = db
|
||||
end
|
||||
|
||||
return instance
|
||||
end
|
||||
|
||||
|
||||
function tencent_sdk_trtc:dismissRoomByStrRoomId(secret_id,secret_key,sdkappid,room_id)
|
||||
return self.module:dismissRoomByStrRoomId(secret_id,secret_key,sdkappid,room_id)
|
||||
end
|
||||
|
||||
return tencent_sdk_trtc
|
||||
Reference in New Issue
Block a user