Skip to content
This repository was archived by the owner on Jun 23, 2024. It is now read-only.

Thoughtscript/x_team_webrtc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

x_team_webrtc

Many WebRTC demos are just "element" to "element" within the same browser. In this simple Node, Socket.io and EasyRTC example we'll demonstrate full one-on-one WebRTC video chat between clients and managed by a signal server.

WebRTC leverages several different communication protocols in order to make true client to client streaming possible. No servers are ever involved with the streams themselves (just the inter-coordination to get the streams to go directly from browser to browser). This can vastly increase savings from a bandwidth and hosting perspective while improving privacy.

How Does it Work?

Server-side:

    (1) An HTTPS server is started and is wrapped by Express -> handles URL/HTTP requests.
    (2) An EasyRTC server is launched wrapping both a Socket Server and Express.

Client-side:

    (1) Use Adapter.js for shimming (WebRTC recommended).
    (2) Use the supplied EasyRTC API libraries.
    (3) Use the supplied Socket.io examples to build a chat system!

Shout Outs

  1. EasyRTC

Licensing

MIT licensed and free to use!

About

WIP EasyRTC One-on-One Video Chat Example

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published