Skip to content

Commit 5aa13a7

Browse files
committed
update README
1 parent 110c2c8 commit 5aa13a7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,16 @@ $ go get -u github.com/poga/webrtc-socket-proxy
1515

1616
* Setup [centrifugo](https://github.com/centrifugal/centrifugo/releases) with [example config](config.centrifugo.test.json)>
1717

18-
* Start proxies
18+
## Usage
1919

2020
```
21+
# the `As` proxy
2122
$ webrtc-socket-proxy -signal=<SIGNAL_SERVER_ADDR> -secret=<SIGNAL_SERVER_SECRET> -as=<PEER_ID> -upstreamAddr=localhost:8000
23+
# the `To` proxy
2224
$ webrtc-socket-proxy -signal=<SIGNAL_SERVER_ADDR> -secret=<SIGNAL_SERVER_SECRET> -to=<PEER_ID> -listen=:4444
2325
```
2426

25-
26-
## Usage
27-
27+
You can send data to your `<upstreamAddr>` via connecting to `:4444` now.
2828

2929
## Roadmap
3030

0 commit comments

Comments
 (0)