Skip to content
Snippets Groups Projects
Commit adb1ab34 authored by Yuriy Maksymets's avatar Yuriy Maksymets
Browse files
parents 4bdd3393 5b644b2c
No related branches found
No related tags found
No related merge requests found
Pipeline #100484 passed
......@@ -31,11 +31,7 @@ CRDT-based p2p Drawing Application
### Open in browser
Using a modern browser that supports WebRTC, like a recent version of Chrome or Firefox, open several windows of [http://localhost:12345](http://localhost:12345).
Open the developer console to find out your client's ID. To connect to another peer, call the following function from the console with their ID:
```
>> window.connectToPeer("peer-id")
```
Copy your user ID from one client to the peer ID input on another client to establish a connection between the two.
## Development
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment