PingPangChat is a websocket instant chat program based on netty. It has functions such as single chat, group chat, voice recording push, video chat, live broadcast, historical chat objects, etc.
Chat front desk: layui
Backend management: X-admin
Backend framework: springboot2, netty, druid, mybatis, redis, zookeeper
The server supports cluster deployment
1. Single chat
2.Group chat
3. Send pictures, expressions, audios and videos
4. Chat records (currently 5)
5. Support recording and sending audio
6.Support video chat
7. Supports live broadcast (currently based on video), and can also build flv streaming (you need to set up your own environment)
8. Disconnect and reconnect
9. Backstage management of online users, registered users, groups, and message management
10. Administrator broadcast
11. Experimental function face detection (with the help of opencv)
"cmd":null,
"from":null,
"accept":null,
"group":null,
"msg":null,
"status":null,
"id":null,
"createDate":"2021-01-09 22:26:14",
"chatSet":null,
"groupSet":null,
"oldMsg":null
}
"cmd":"1",
"from":{
"userCode":"dnmt",
"userName":"Ouchi Agent"
},
"msg":"39cb8c2a98914f0a8a84c09a34990af8"
}
"cmd":"3",
"from":{
"userCode":"dnmt"
},
"accept":{
"userCode":"fhx"
},
"msg":"Single chat test"
}
"cmd":"4",
"from":{
"userCode":"dnmt"
},
"group":{
"groupCode":"g003"
},
"msg":"Group Chat Test"
}
1.Initialize db script
2. Modify the db, redis, and zookeeper information in the configuration file application.properties.
3. Video chat and live broadcast parts use peerjs
You need to configure the node server yourself
Functional interface