Namespace JuphoonRTCConference
Variables
Const reporter
reporter
: Reporter = new Reporter('JuphoonRTCConference')
Const tokenMap
tokenMap: {}
Functions
createConferenceClient
- createConferenceClient(appKey: string, token: string, socketAddress?: string): RTCConference
-
Parameters
-
appKey: string
-
token: string
-
Optional socketAddress: string
getToken
- getToken(url?: string): Promise<any>
-
Parameters
Returns Promise<any>
Private parseUrl
- parseUrl(url: any): { host: string; hostname: string; isSecurity: boolean; port: string; protocol: string }
-
Parameters
Returns { host: string; hostname: string; isSecurity: boolean; port: string; protocol: string }
-
host: string
-
hostname: string
-
isSecurity: boolean
-
port: string
-
protocol: string
setConfig
- setConfig(_config: { address: string }): void
-
Parameters
-
_config: { address: string }
Returns void
Object literals
Const config
config: object
client
client: null = null
envInfo
envInfo: null = null
userId
userId: null = null
创建会议客户端