-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
# syncHime | ||
|
||
## 设置 | ||
|
||
[webstore 传送门](https://chrome.google.com/webstore/detail/synchime/emjmcfhchipmaflddbmkoojhecpfpjmo) | ||
|
||
connection-type 可以选择 `webrtc` 或 `websocket`,默认 `webrtc` | ||
|
||
- 选择 `webrtc` 时,使用 websocket 交换信息并建立连接后,直接 p2p 通讯 | ||
- 选择 `websocket` 时,建立连接后依然使用 websocket 通讯,适用于 p2p 通讯高延迟的情况 | ||
|
||
websocket-url 默认为 `synchime.herokuapp.com` | ||
websocket-url 默认为 `synchime.herokuapp.com`,可以直接用,但是在延迟高时可以选择修改此配置 | ||
|
||
可以选择在自己的服务器部署 websocket 服务,也可以点一下按钮直接在 heroku 部署。 | ||
|
||
[![Deploy](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/ssshooter/syncHime/tree/master) | ||
|
||
## 使用 | ||
|
||
![screenshot](screenshot.png) | ||
|
||
- 绿色按钮:连接 | ||
- 红色按钮:断开 | ||
- 蓝色按钮:发送信息 | ||
- 紫色按钮:同步时间 |