\Qiniu\RtcAppClient

Summary

Methods
Properties
Constants
__construct()
createApp()
updateApp()
getApp()
deleteApp()
listUser()
kickUser()
listActiveRooms()
appToken()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
get()
delete()
post()
$auth
$baseURL
N/A

Properties

$auth

$auth : 

Type

$baseURL

$baseURL : 

Type

Methods

__construct()

__construct(\Qiniu\Auth  $auth) 

Parameters

\Qiniu\Auth $auth

createApp()

createApp(  $hub,   $title,   $maxUsers = null,   $noAutoKickUser = null) 

Parameters

$hub
$title
$maxUsers
$noAutoKickUser

updateApp()

updateApp(  $appId,   $hub,   $title,   $maxUsers = null,   $mergePublishRtmp = null,   $noAutoKickUser = null) 

Parameters

$appId
$hub
$title
$maxUsers
$mergePublishRtmp
$noAutoKickUser

getApp()

getApp(  $appId) 

Parameters

$appId

deleteApp()

deleteApp(  $appId) 

Parameters

$appId

listUser()

listUser(  $appId,   $roomName) 

Parameters

$appId
$roomName

kickUser()

kickUser(  $appId,   $roomName,   $userId) 

Parameters

$appId
$roomName
$userId

listActiveRooms()

listActiveRooms(  $appId,   $prefix = null,   $offset = null,   $limit = null) 

Parameters

$appId
$prefix
$offset
$limit

appToken()

appToken(  $appId,   $roomName,   $userId,   $expireAt,   $permission) 

Parameters

$appId
$roomName
$userId
$expireAt
$permission

get()

get(  $url,   $cType = null) 

Parameters

$url
$cType

delete()

delete(  $url,   $contentType = 'application/json') 

Parameters

$url
$contentType

post()

post(  $url,   $body,   $contentType = 'application/json') 

Parameters

$url
$body
$contentType