Skip to content

ourcodeworld/videochat-peerjs-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

videochat-peerjs-example

A videochat implementation using PeerJS with Node.js

How to use

Open a terminal and switch to the videochat-peerjs-example/server directory and install dependencies executing:

npm install

Then switch to the videochat-peerjs-example/public directory and install dependencies executing:

npm install

Once the dependencies were installed, start with the terminal the website server by switching to the videochat-peerjs-example/public directory and executing:

node website-server.js

Let that terminal open and open a new one. Switch to the videochat-peerjs-example/server directory and start the PeerJS server executing:

node peer-server.js

Open your browser and access the addres: title and have fun. For more information, please visit the article of this example here in Our Code World

Important

Don't forget to change the host address at the line 16 in videochat-peerjs-example/public/source/js/scripts.js according to yours.

About

A videochat implementation using PeerJS with Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published