fcr-core
Version:
Core APIs for building online scenes
52 lines (51 loc) • 1.51 kB
TypeScript
/**
* git do not control webim.config.js
* everyone should copy webim.config.js.demo to webim.config.js
* and have their own configs.
* In this way , others won't be influenced by this config while git pull.
*/
declare const agoraChatConfig: {
Host: string;
https: boolean;
isHttpDNS: boolean;
isMultiLoginSessions: boolean;
/**
* @parameter {Boolean} true or false
*/
isSandBox: boolean;
/**
* Whether to console.log
* @parameter {Boolean} true or false
*/
isDebug: boolean;
/**
* will auto connect the websocket server autoReconnectNumMax times in background when client is offline.
* won't auto connect if autoReconnectNumMax=0.
*/
autoReconnectNumMax: number;
/**
* webrtc supports WebKit and https only
*/
useOwnUploadFun: boolean;
isAutoLogin: boolean;
/**
* Size of message cache for person to person
*/
p2pMessageCacheSize: number;
/**
* When a message arrived, the receiver send an ack message to the
* sender, in order to tell the sender the message has delivered.
* See call back function onReceivedMessage
*/
delivery: boolean;
/**
* Size of message cache for group chating like group, chatroom etc. For use in this demo
*/
groupMessageCacheSize: number;
/**
* enable localstorage for history messages. For use in this demo
*/
enableLocalStorage: boolean;
deviceId: string;
};
export { agoraChatConfig };