All Projects → xiaominfc → teamtalk_websocket_server

xiaominfc / teamtalk_websocket_server

Licence: Apache-2.0 license
让teamtalk支持websocket 从而实现web端的即时通讯

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to teamtalk websocket server

customer-service
客服IM服务端,基于t-io
Stars: ✭ 30 (+114.29%)
Mutual labels:  websocket-server, im
teamtalk websocket client
给teamtalk_websocket_server测试用的前端实现代码
Stars: ✭ 19 (+35.71%)
Mutual labels:  im, teamtalk
Mongols
C++ high performance networking with TCP/UDP/RESP/HTTP/WebSocket protocols
Stars: ✭ 250 (+1685.71%)
Mutual labels:  websocket-server
Server
The whir.io chat server.
Stars: ✭ 15 (+7.14%)
Mutual labels:  websocket-server
wchat
【Beta -Demo】📤WEB即时聊天工具(类微信WEB),不能使用QQ微信?叫上好友一起试试这个😄。基于WebSocket协议的网页版(PC)在线聊天工具。
Stars: ✭ 20 (+42.86%)
Mutual labels:  im
go-chat
go-chat.使用Go基于WebSocket开发的web聊天应用。单聊,群聊。文字,图片,语音,视频消息,屏幕共享,剪切板图片,基于WebRTC的P2P语音通话,视频聊天。
Stars: ✭ 516 (+3585.71%)
Mutual labels:  im
lucee-websocket
Enables server WebSockets for Lucee via JSR-356 compliant servlet containers (e.g. Tomcat 8, Jetty 9.1, etc.)
Stars: ✭ 16 (+14.29%)
Mutual labels:  websocket-server
Cwebsocket
cWebsocket is lightweight websocket server library
Stars: ✭ 241 (+1621.43%)
Mutual labels:  websocket-server
Lib.AspNetCore.WebSocketsCompression
[Archived] Lib.AspNetCore.WebSocketsCompression is a library which provides a managed implementation of the WebSocket protocol, along with server integration components and support for permessage-deflate compression.
Stars: ✭ 23 (+64.29%)
Mutual labels:  websocket-server
Phantom
幻影IM消息平台
Stars: ✭ 26 (+85.71%)
Mutual labels:  im
wx-chat
野火IM微信小程序版
Stars: ✭ 58 (+314.29%)
Mutual labels:  im
LQIMInputView
一个聊天输入框的工具栏,类似微信聊天工具栏,可自定义,集成方便
Stars: ✭ 28 (+100%)
Mutual labels:  im
Open-IM-SDK-Flutter
即时通讯IM Flutter
Stars: ✭ 285 (+1935.71%)
Mutual labels:  im
rockgo
A developing game server framework,based on Entity Component System(ECS).
Stars: ✭ 617 (+4307.14%)
Mutual labels:  websocket-server
Websocketd
Turn any program that uses STDIN/STDOUT into a WebSocket server. Like inetd, but for WebSockets.
Stars: ✭ 15,828 (+112957.14%)
Mutual labels:  websocket-server
mem usage ui
Measuring and graphing memory usage of local processes
Stars: ✭ 124 (+785.71%)
Mutual labels:  websocket-server
Websocat
Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
Stars: ✭ 3,477 (+24735.71%)
Mutual labels:  websocket-server
websocket-overlays
Websocket controlled Video Overlay server for OBS-Studio, XSplit, CasparCG, ProPresenter and everything with web browser.
Stars: ✭ 27 (+92.86%)
Mutual labels:  websocket-server
nimf
다국어 입력기 프레임워크 Nimf is a lightweight, fast and extensible input method framework
Stars: ✭ 114 (+714.29%)
Mutual labels:  im
pushd
An open source distributed pubsub/IM server
Stars: ✭ 30 (+114.29%)
Mutual labels:  im

teamtalk_websocket_server

让teamtalk支持websocket 从而实现web端的即时通讯

准备

一个编译好的teamtalk的工程(https://github.com/mogujie/TeamTalk) 打开一个终端切换到teamtalk的工程下的src(那些server的源码目录)

修改base下的imconn.h 中的Send函数 在前面加个virtual

	virtual  int Send(void* data, int len);

重新编译一次base

在src路径下执行

clone 代码
git clone https://github.com/xiaominfc/teamtalk_websocket_server.git
编译websocket库
cd teamtalk_websocket_server/websocket
cmake .
make
cd ..
编译websocket_server
cmake .
make

这样就编译出来了

添加log使用的几个分享库以及配置文件 以websocketserver.conf.example 为模版修改出一份websocketserver.conf websocket_server 就能运行了

websocket的实现引用了(http://katzarsky.github.com/WebSocket) 感谢katzarsky

测试用的demo可以参考:https://github.com/xiaominfc/teamtalk_websocket_client

在线演示可以参考:http://im.xiaominfc.com

SSL的支持

  1. 需要用我fork出来维护的Teamtalk的项目(https://github.com/xiaominfc/TeamTalk)
  2. 对比server/src/base目录代码的差异也可以 主要是给服务端添加了ssl的支持
  3. 打开websocket_server.cpp中的宏#define NEEDSSL
  4. 配置.conf文件中关于SSL的几个参数 SSLListenIP SSLListenPort SSLCertFile SSLKeyFile
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].