Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bilc committed May 4, 2016
1 parent 8107dcf commit 2716bd6
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
本项目为webrtc的signal的服务器和js实现


1. 安装启动turnserver
启动示例
nohup turnserver -o -a -f -v --mobility -m 10 --max-bps=100000 --min-port=32355 --max-port=65535 --user=ling:ling1234 --user=ling2:ling1234 -r demo &
修改home.html configuration参数
1. 安装启动turnserver
1.1 项目地址
https://github.com/coturn/coturn
1.2 启动示例
turnserver -o -a -f -v --mobility -m 10 --max-bps=100000 --min-port=32355 --max-port=65535 --user=ling:ling1234 --user=ling2:ling1234 -r demo
1.3 修改home.html
configuration参数为自己配置的turnserver

2. make
go get github.com/gorilla/websocket
go run *.go
2. make
go get github.com/gorilla/websocket
go run *.go

3. firefox打开http://ip:8080/, 其他浏览器未测试
3. firefox打开http://ip:8080/, 其他浏览器暂不兼容

0 comments on commit 2716bd6

Please sign in to comment.