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
heartbeatHeartbeat interval in seconds, specify the interval value of sending heartbeat between sdk and rtm service.
Optional
logThe config for customer set log path, log size and log level.
Optional
multipathWhether to enable multipath, introduced from 2.2.0, for now , only effect on stream channel.
Optional
presencePresence timeout in seconds, specify the timeout value when you lost connection between sdk and rtm service.
Optional
privateThe config for private setting
Optional
protocolThe protocol used for connecting to the Agora 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.