Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

65 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

webrtc工程整合

android ios chrome之间使用webrtc进行语音视频通讯 bug还有很多 API也没包装出来再 支持自建webrtc服务整合到自己的即时通讯系统里

安装turnserver

https://github.com/coturn/coturn/wiki/CoturnConfig or https://github.com/pion/turn

turnserver可以手动安装 然后修改apprtc-node-server 下routes/index.js 返回自己的turnserver的信息

https协议的安全证书

可以用github上的一个项目 https://github.com/certbot/certbot 生成

install(centos7.x)

1 clone source code

git clone https://github.com/xiaominfc/webrtc.git 
cd webrtc

2 websocket_server

# install go 
# root user(root用户下)
yum install golang
#config gopath
# compile server
cd websocket_go_server
./build.sh
# start server 
./bin/collidermain --port=6000 --tls=false
# config supervisor for demon server (配置 supervisor 守护改服务)
# config nginx reproxy for server (配置nginx反向代理 支持ssl)

3 apprtc_server

# install nodejs
# root user
yum install nodejs
# start server
cd ../apprtc-node-server
## config 
npm install
node ./bin/www
# config supervisor for demon server (配置 supervisor 守护改服务)
# config nginx reproxy for server (配置nginx反向代理 支持ssl)

在线demo

https://apprtc.xiaominfc.com

flutter plugin and demo

https://github.com/xiaominfc/flutter_apprtc

欢迎联系讨论学习

qq:793101503

About

apprtc for web android ios

Topics

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /