当前位置:网站首页>Audio, video and IM, Bing brother summary
Audio, video and IM, Bing brother summary
2022-04-22 17:33:00 【Star Moon 0】
- client - client Communications The tool is socket The role of the server is just message forwarding . Message records are stored in the local database of the client . Unless your company has a message synchronization function , The server should save , If not necessary, the server is just a simple forwarding role .
- in other words The server doesn't matter what message you send it . The communication protocol is made by you and your Android colleagues . For example, you send an ordinary text message . The definition type is text, Android should be defined like this . To parse your data structure
- The design logic of the client is : Show from database for the first time - send out - Package messages by protocol - receive - Parse the message according to the protocol - Show - Local database backup .
- Real time messages like voice and video . No need to back up . But consider video and audio decompression , Increase the transmission rate
- A -> The server B-> The server … Of course, like friends online , State change, etc , This is pushed by the server . Because everyone is connected to the server . Online and offline servers know . The server will tell you whose status has changed . Offline messages are also A issue B , Server judgment B Not online , So temporary storage . follow-up B After the launch , The server will push the temporary messages to B
- Audio and video can be built by yourself
- Socket-io
- Simple to use , Just build and deliver the video stream by yourself
- Because the company's chat project is just built by itself . Get familiar with
- And the company's chat project is OK . Very successful
- Company chat is used xmpp Written
- Such sensitive data , Or don't give it to a third party
- If the data is encrypted and transmitted, the third party does not know
- If it's just a third party, you have to pay extra for many services if you want to expand them
- If you want to migrate messages, the server should save
- ios There are two ways to migrate . 1.icloud Local backup migration 2. The server saves the migration
- Wechat chat record migration : Set up - Universal - Backup and migration of chat records
problem :
1. When wechat chat records are migrated , Is to transmit chat data through LAN , Or transfer through the server
版权声明
本文为[Star Moon 0]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221728387209.html
边栏推荐
- 这或许是最详细的机器学习模型融合大法汇总
- Opendaylight analysis of SDN learning (4)
- Go 学习笔记——Switch(我不是游戏机)
- Sqlalchemy filter time
- Design of wechat applet message board
- 京东一面:子线程如何获取父线程 ThreadLocal 的值?我蒙了。。。
- 非线性优化问题---超大对象函数优化问题---MATLAB
- JS implements six common sorting
- Matlab --- nonlinear optimization problem II
- There was another bug today. When mogodb was used to query data, it was found that the returned data was null
猜你喜欢
随机推荐
期货怎么办理开户,国内期货开户哪里方便又安全?
Get rid of the "small workshop" of AI production: how to build a cloud native AI platform based on kubernetes
Comment intégrer les applets et construire la GI pour réaliser le chat de messagerie instantanée
How to efficiently manage data in a hybrid cloud?
Sqlalchemy filter time
Resume WiFi operation
电子书产品日趋丰富,科大讯飞智能办公本仍是理想之选
How can Hong Kong cloud servers avoid blackmail software attacks?
全网征集!说说你跟宜搭之间的故事吧
7 interview questions about closure
Regular matching URL
Opendaylight analysis of SDN learning (2)
The recursive return value in JS is undefined
查看论文是否被SCI检索
文章推荐 2022.4.18
ES6 Generator函数和async函数
用户画像之线性回归逻辑回归综合实战
使用apexcharts组件的折线图(smooth的面积曲线)
到家的最少跳跃次数-c语言dfs
Huawei is on the old road




![[Golang]力扣Leetcode - 657. 机器人能否返回原点(模拟)](/img/b1/035c907253739a3e8c68b5934fd4e0.png)




