You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 25, 2024. It is now read-only.
Open WebRTC Toolkit P2P Server is the default signaling server of Open WebRTC Toolkit. It provides the ability to exchange WebRTC signaling messages over Socket.IO among different clients.
4
+
5
+
## Running P2P Server
6
+
### Install Dependencies
7
+
Install node dependencies by running following command in root directory of P2P server.
8
+
9
+
```
10
+
npm install
11
+
```
12
+
13
+
### SSL/TLS
14
+
The default plain port is 8095, and the default secure port is 8096. These default values can be modified in the file `config.json`.
15
+
16
+
Connecting server with secure socket.io connections are recommended. The default certificate is stored in `cert` directory with two files: `cert.pem` and `key.pem`. Please replace them with a trusted one applied from a trusted CA.
17
+
18
+
### Launch the server
19
+
Run the following commands to launch the server:
20
+
21
+
```
22
+
node peerserver.js
23
+
```
24
+
25
+
### Stop the server
26
+
Press <kbd>Ctrl</kbd> + <kbd>C</kbd> to stop the peer server.
27
+
28
+
## How to contribute
29
+
We warmly welcome community contributions to Open WebRTC Toolkit JavaScript SDK repository. If you are willing to contribute your features and ideas to OWT, follow the process below:
30
+
- Make sure your patch will not break anything, including all the build and tests
31
+
- Submit a pull request onto https://github.com/open-webrtc-toolkit/owt-server-p2p/pulls
32
+
- Watch your patch for review comments if any, until it is accepted and merged
33
+
OWT project is licensed under Apache License, Version 2.0. By contributing to the project, you agree to the license and copyright terms therein and release your contributions under these terms.
0 commit comments