Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@

## Setup

* Install `webrtc-socket-proxy`
* Install `webrtc-socket-proxy` on both peers

```
$ go get -u github.com/poga/webrtc-socket-proxy
```

* Setup [centrifugo](https://github.com/centrifugal/centrifugo/releases) with [example config](config.centrifugo.test.json).
* On the third machine with a dedicated IP, setup [centrifugo](https://github.com/centrifugal/centrifugo/releases) with [example config](config.centrifugo.test.json).

## Usage

Expand All @@ -30,7 +30,7 @@ $ webrtc-socket-proxy -signal=<SIGNAL_SERVER_ADDR> -secret=<SIGNAL_SERVER_SECRET
$ webrtc-socket-proxy -signal=<SIGNAL_SERVER_ADDR> -secret=<SIGNAL_SERVER_SECRET> -to=<PEER_ID> -listen=:4444
```

You can send data to your `<upstreamAddr>` via connecting to `:4444` now.
You can send data from the `As` machine to your `<upstreamAddr>` via connecting to `:4444` of the `To` machine now.

## Roadmap

Expand All @@ -39,4 +39,4 @@ You can send data to your `<upstreamAddr>` via connecting to `:4444` now.

## License

The MIT License
The MIT License