Skip to content

Chat Apis

The documentation applies to:✅ v0.8.0

Default appsettings.json

It locates in src/web-apis/LetPortal.ServiceManagementApis/Files/Chat/v1.0

{
  "ChatOptions": {
    "AllowedHosts": [
      "http://localhost:4200"
      // Put more your public domain for CORS, it is required for SignalR
    ],
    "MaximumSessionsPerChatRoom": 5, // Maximum chat sessions in-memory
    "ThresholdNumberOfMessages": 50 // Maximum messages per session
  },
  "VideoCallOptions": {
    "IceServers": [
      // Add more ICE server such as STUN or TURN
      {
        "Urls": "stun:stun1.l.google.com:19302",
        "Username": "",
        "Credential": ""
      }
    ]
  }
}