Functions
attachAllRemoteStreamComponents
- attachAllRemoteStreamComponents(selector: any, that: any): void
attachLocalStreamComponent
- attachLocalStreamComponent(selector: any, that: any): void
createConferenceClient
- createConferenceClient(appKey: string, username: string, token: string, socketAddress: string): WeChatGuest
-
Parameters
-
appKey: string
-
username: string
-
token: string
-
socketAddress: string
createGuestClient
- createGuestClient(appKey: string, username: string, token: string, socketAddress: string): WeChatGuest
-
Parameters
-
appKey: string
-
username: string
-
token: string
-
socketAddress: string
getToken
- getToken(url: string, username: string): Promise<any>
-
Parameters
-
url: string
-
username: string
Returns Promise<any>
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
Const plugins
plugins: object
绑定
<remote-stream>
组件, 坐席接通后或成员数量变化时需要重新绑定