Building a WebRTC Video Chat Application with PeerJS and Node.js https://morioh.com/p/eda8d6fc06bf #nodejs #peerjs #WebRTC #javascript #developer

#dc#dc comics#batman#bruce wayne#tim drake#batfamily#dc fanart#batfam#dick grayson

seen from Slovakia

seen from China
seen from Japan

seen from France

seen from Netherlands

seen from France
seen from United States

seen from Russia

seen from France
seen from Georgia

seen from United Kingdom
seen from United States
seen from Italy
seen from United States
seen from China
seen from China
seen from Türkiye
seen from Brazil
seen from Italy
seen from Brazil
Building a WebRTC Video Chat Application with PeerJS and Node.js https://morioh.com/p/eda8d6fc06bf #nodejs #peerjs #WebRTC #javascript #developer
More Code Please
Since we began building OpenPath, there have been some notable improvements to WebRTC. Originally we were using webrtc.io as our WebRTC framework. However, PeerJS has gained momentum, and is simple, stable, and supported. It interoperates amongst browsers and browser versions, and is open source and free. This framework is helping us clean up our API calls and rationalize the backend. This will make the app faster, and also easier for us to build on and other coders to understand.
Recently, Mozilla also made the announcement that Persona, its simple sign-on service, would not be supported with developers in the future. One of the reasons for the move was that it didn't have a big enough footprint. We have to agree; further, people we tested with were confused by it. Sometimes it didn't work (often the user's email provider wasn't supported for instance). They didn't understand how it worked, who was asking for their personal info, and how their data would be stored (though Persona is designed to give users the freedom to decide what they share with services).
We think other authentication methods will present less friction; so we are migrating to passport.js. It is an authentication middleware for Node.js. It supports all common authentication strategies; we will look for input on which ones we implement as we go along. In case you are wondering, we have been working on a different branch of the code, which we have not deployed to the prod server. Of course, this is all in an effort to be able to pilot OpenPath and help people learn face to place!
WebRTC Engines
With all of the justified excitement around WebRTC lately, several new JavaScript WebRTC frameworks have emerged!
The first WebRTC Node.JS module to hit the market a little over 6 months ago was WebRTC.io. At the time of this article, it has 222 star gazers and 43 forks on GitHub. It supports GetUserMedia and PeerConnections on Chrome browsers and it has a great conferencing demo. You should definitely checkout this library.
Newcomers to the developer race include: Holla, PeerJS, and EasyRTC. At the time of this article, none of these frameworks support FireFox; however, my bet is on Holla to have it integrated first. All three of these WebRTC engines support GetUserMedia and PeerConnections on Chrome and come with simple demos to get developers started building voice/video apps today.
In addition to GetUserMedia and PeerConnections, Holla also supports P2P calls for both placing and receiving calls as well as handlng chat and presence. Note: Holla is the WebRTC module used in Twelephone.
This is a fast moving space and it's great to have options. Stay tuned...
Das Web dreht durch! JavaScript erlebt seine blühte. Wer hätte das gedacht!