Optional
props: Partial<{ Optional
appThe App ID of your project.
Optional
areaThe region for connection. This advanced feature applies to scenarios that have regional restrictions.
For the regions that Agora supports, see #AREA_CODE.
After specifying the region, the SDK connects to the Agora servers within that region.
Optional
contextOptional
encryptionThe config for encryption setting
Optional
eventThe callbacks handler
Optional
logThe config for customer set log path, log size and log level.
Optional
presencePresence timeout in seconds, specify the timeout value when you lost connection between sdk and rtm service.
Optional
proxyThe config for proxy setting
Optional
useWhether to use String user IDs, if you are using RTC products with Int user IDs, set this value as 'false'. Otherwise errors might occur.
Optional
userThe ID of the user.
Configurations for RTM Client.