Skip to content

System73/datachannel-transfer-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

System73® DataChannel Transfer Test

This is a test & benchmark for WebRTC DataChannel transfer speed.

This is a fork of WebRTC datatransfer sample.

See LICENSE for license terms and conditions.


Installation and Setup Instructions

Signal Server setup

The Signal Server can be found inside the "signalserver" folder.

You need to install "Node.js" to run the server. For Ubuntu:

sudo apt install nodejs

Go inside the "signalserver" folder.

You need to install the Node.js dependencies inside the "signalserver" folder: For Ubuntu:

npm install

To start the Signal Server, run:

npm start

Data transfer test clients can access the Signal Server like this:

ws://x.x.x.x:8000

Fill x.x.x.x with the machine's IP address. Port is 8000 by default.

Hit Ctrl-C to interrupt the script and stop the Signal Server.

Web client setup

The web client can be found inside the "webclient" folder.

You need to install the Node.js dependencies inside the "webclient" folder:

npm install

To start serving the web client, run:

npm start

To access the web client, point the web browser to an URL like this:

http://x.x.x.x:8080

Fill x.x.x.x with the machine's IP address. Port is 8080 by default.

Hit Ctrl-C to interrupt the script and stop serving the web client.

About

Test & benchmark for WebRTC DataChannel transfer speed.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published