Constructors
constructor
Parameters
_context: RTCPluginContext
_runtime: IRuntime
_logger: BasicLogger
Methods
registerUserInfo
- registerUserInfo(info?: { name?: string; portraitUri?: string; extra?: string }): void
Parameters
info: { name?: string; portraitUri?: string; extra?: string } = {}
Optional name?: string
Optional portraitUri?: string
Optional extra?: string
Returns void
startCrossCall
Parameters
call
Parameters
callInGroup
Parameters
getJoinedRoomInfo
- getJoinedRoomInfo(): Promise<{ code: RCCallErrorCode; data?: IRTCJoinedInfo[] }>
Returns Promise<{ code: RCCallErrorCode; data?: IRTCJoinedInfo[] }>
setPushConfig
Parameters
注册用户信息。注册后,在发起邀请或挂断等操作时,会将该信息一并发送给对端