-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
209 lines (196 loc) · 10.4 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
---
title: "AgoraChat Beta Introduction"
keywords: landingpage
sidebar: home_sidebar
toc: false
permalink: index.html
folder: /
---
<div class="post-content">
<h2 id="overview">Overview</h2>
<p>AgoraChat is a cloud-based provider of in-app chat. We provide the SDKs and a hosted Platform API to add chat to mobile and web apps. We offer the ability to add one-to-one chat, group chat, chat rooms, text messages, image and file sharing, emojis, typing indicators, delivery status and self-destructing messages.</p>
<p>Stop reinventing the wheel and spending valuable engineering resources on building a chat infrastructure yourself. Chat has your in-app chat system covered, so you can focus on building and optimizing the core features of your app.</p>
<p>Chat provides SDKs for native mobile apps for Android and iOS, Javascript for Web, and the APIs for server communication between the Chat server and your developer server.</p>
<div class="row">
<div class="col-lg-12">
<h2 class="page-header">Documentation</h2>
</div>
<div class="col-md-3 col-sm-6">
<div class="panel panel-default text-center">
<div class="panel-heading">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-android fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="panel-body">
<h4>Android</h4>
<p>Learn how to integrate Chat SDK for Android.</p>
<a href="/android_product_overview.html" class="btn btn-primary">Learn More</a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="panel panel-default text-center">
<div class="panel-heading">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-apple fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="panel-body">
<h4>iOS</h4>
<p>Learn how to integrate Chat SDK for iOS.</p>
<a href="/ios_product_overview.html" class="btn btn-primary">Learn More</a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="panel panel-default text-center">
<div class="panel-heading">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-chrome fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="panel-body">
<h4>Web</h4>
<p>Learn how to integrate Chat SDK for Web.</p>
<a href="/web_product_overview.html" class="btn btn-primary">Learn More</a>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="panel panel-default text-center">
<div class="panel-heading">
<span class="fa-stack fa-5x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-server fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="panel-body">
<h4>Platform API</h4>
<p>Learn how to use server side REST API.</p>
<a href="#/server_product_overview.html" class="btn btn-primary">Learn More</a>
</div>
</div>
</div>
</div>
<!-- Sample apps -->
<!-- The circle icons use Font Awesome's stacked icon classes. For more information, visit http://fontawesome.io/examples/ -->
<div class="row">
<div class="col-lg-12">
<h2 class="page-header">Sample apps</h2>
</div>
<div class="col-md-4">
<div class="media">
<div class="pull-left">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="media-body">
<h4 class="media-heading">Android</h4>
<p>Provides a full-featured instant messaging Demo, including single chat, group chat, and chat room functions.</p>
<a href="https://github.com/HyphenateInc/Hyphenate-Demo-Android" class="media-heading">view more</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="media">
<div class="pull-left">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="media-body">
<h4 class="media-heading">iOS</h4>
<p>LProvides a full-featured instant messaging Demo, including single chat, group chat, and chat room functions.</p>
<a href="https://github.com/HyphenateInc/Hyphenate-Demo-iOS.git " class="media-heading">view more</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="media">
<div class="pull-left">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x text-primary"></i>
<i class="fa fa-github fa-stack-1x fa-inverse"></i>
</span>
</div>
<div class="media-body">
<h4 class="media-heading">Web</h4>
<p>Provides a full-featured instant messaging Demo, including single chat, group chat, and chat room functions.</p>
<a href="https://github.com/HyphenateInc/Hyphenate-Demo-Web.git" class="media-heading">view more</a>
</div>
</div>
</div>
</div>
<br>
<br>
<h2 id="client-server-relationship" class="clickable-header top-level-header">Client Server Relationship</h2>
<p><img src="/images/index/PlatformArchitecture.jpeg" alt="Client Server Relationship" /></p>
<h2 id="chat-platform-advantages">Chat Platform Advantages</h2>
<p>Chat offers five core architecture design enhancements that efficiently handle a variety of complex services:</p>
<ol>
<li>Asynchronous - High concurrent asynchronous architecture that can easily handle millions of concurrent requests.</li>
<li>Stateless - Stateless modules allow services to seamlessly switch between clusters in real time.</li>
<li>Cluster Service - Ensures high availability.</li>
<li>Horizontal Scaling - Optimized server configuration to ensure that each service cluster has high horizontal scalability.</li>
<li>Peak Traffic Handling - Resource optimization with additional system redundancy, 50% for core services and 30% for other services, which takes care of the peak volume in various conditions.</li>
</ol>
<h2 id="chat-protocol">Chat Protocol</h2>
<ul>
<li>
<p>MSYNC is Chat’s patent pending protocol that is optimized for mobile device performance and built to handle sporadic and unstable mobile networks. It is based on a binary format instead of raw text like XML, which is able to compress message data up to 80%. MSYNC also reduces the message relay between the client and server. As a result, Chat is able to deliver more information with significantly less overhead, less network bandwidth consumption, and better battery preservation. In addition, MSYNC is based on a persistent socket connection to establish real-time message delivery with extremely low latency in milliseconds scale.</p>
</li>
<li>
<p>Chat employs a smart heartbeat, meaning it adjusts the frequency of packet relay dynamically based on the communication channel and environment. It minimizes the mobile device power consumption and cellular data usage without compromising connection continuity.</p>
</li>
</ul>
<h2 id="features">Features</h2>
<table>
<thead>
<tr>
<th style="text-align: center">Feature</th>
<th style="text-align: left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center">User Management</td>
<td style="text-align: left">1. Provide basic user management functions, add/delete friends, and blacklist friends. Support user metadata, can store user profile information for easy integration.</td>
</tr>
<tr>
<td style="text-align: center">Message</td>
<td style="text-align: left">Support all message types, including: text, emoji, picture, voice, video, location, files, CMD, custom messages.</td>
</tr>
<tr>
<td style="text-align: center">Group</td>
<td style="text-align: left">Provides a complete group management function, supporting different roles in group: owner, administrator and member. Support group blacklist, user ban and other functions.</td>
</tr>
<tr>
<td style="text-align: center">Chatroom</td>
<td style="text-align: left">4. Provides a complete chatroom management function and supports live interactive scenes.</td>
</tr>
<tr>
<td style="text-align: center">Multi-Device</td>
<td style="text-align: left">Support one same account to log in to multiple devices at the same time, message roaming synchronization.</td>
</tr>
<tr>
<td style="text-align: center">Push notification</td>
<td style="text-align: left">Support push platforms such as Apple APNS and Google FCM.</td>
</tr>
<tr>
<td style="text-align: center">Messageing Roaming</td>
<td style="text-align: left">The roaming service can realize that the terminal user’s historical messages are saved and synchronized through the server to ensure that the messages are synchronized in real time</td>
</tr>
<tr>
<td style="text-align: center">Message Withdraw</td>
<td style="text-align: left">Users can withdraw the message within the withdrawal time limit after the message is sent.</td>
</tr>
</tbody>
</table>
</div>