Skip to content

agilityfeat/native-webrtc-peer-to-peer

 
 

Repository files navigation

native-webrtc-peer-to-peer

A basic native WebRTC peer to peer Web App implementation

It includes a web client and a signaling server for clients to connect and do signaling for WebRTC.

It uses adapter.js for WebRTC and socket.io for signaling

Dependencies

Starting with Docker

Go to the directory that has your Dockerfile and run the following command to build the Docker image. The -t flag lets you tag your image so it's easier to find later using the docker images command:

docker build . -t <your username>/webrtc-app

Run the image you previously built:

docker run -p 8080:80 -e DEBUG=* -d <your username>/webrtc-app

Using this command the app will be accessible at localhost:8080 and running in DEBUG mode

Starting and debugging (without docker)

Build the backend:

npm run build

For just running:

npm run dev

Credit where credit is due:

Initial code from https://github.com/googlecodelabs/webrtc-web

About

A basic native WebRTC peer to peer Web App implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.6%
  • TypeScript 4.5%
  • Other 0.9%