LOGIN
Ranjan Dailata
48
Community Expert
Application Architect/Lead Developer (Project Leader)
 · ChicagoU.S.
Share
Report
Get Link
SHOW & TELL

Kandy WebRTC Text and Video Call Showcase

Alex Donn Harsha Alva Steven Reubenstone Robert Lancer

The most exciting day is to get the WebRTC video call using PeerJS (An extremely easy to use WebRTC Library) and Kandy ICE TURN Servers.

https://kandywebrtc.herokuapp.com/index.html

PS: PeerJS examples made my life easy. I strongly recommend one to follow the below demo code samples.

http://peerjs.com/examples

API
TCP/IP
REST
3 likes 
Like
Award Contribution
Robert Lancer
45
Community Expert
Chief Technology Officer at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

I tried PeerJS put had issues with HTTPS support in production, the project also looked abandoned, I ended up switching to https://github.com/twilio/twilio-video.js but I rather use PeerJs if it was maintained.

Like
0 like 
Award Contribution
Robert Lancer
45
Community Expert
Chief Technology Officer at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

Were you able to get it working off of localhost?

Like
0 like 
Award Contribution
Ranjan Dailata
48
Community Expert
Application Architect/Lead Developer (Project Leader)
 · ChicagoU.S.
Share
Report
Get Link

Sorry, so far I got everything up and running on my localhost. Will try to host on Heroku and let me know how it works.

Like
1 like 
Award Contribution
Ranjan Dailata
48
Community Expert
Application Architect/Lead Developer (Project Leader)
 · ChicagoU.S.
Share
Report
Get Link

Robert Lancer Just deployed the sample app to Heroku. I did received errors with “Load unsafe script”. But, once I explicitly selected an option to load all unsafe script, I got it running on Google Chrome.

https://kandywebrtc.herokuapp.com/index.html

Like
0 like 
Award Contribution
Robert Lancer
45
Community Expert
Chief Technology Officer at Collaborizm
 · New YorkU.S.
Share
Report
Get Link

Ah cool maybe let’s fork PeerJs and make it work for HTTPS, we can also make it work for IoT projects, like Node Bot to enable them to be controlled remotely. What do you think?

Like
2 likes 
Award Contribution
Ranjan Dailata
48
Community Expert
Application Architect/Lead Developer (Project Leader)
 · ChicagoU.S.
Share
Report
Get Link

Sure, it’s a great solution… Also I don’t think there’s a real problem with the HTTPS. I have experienced the Heroku HTTPS errors in loading unsafe scripts. Node Bot, Room Cleaning Bot etc. are best suited examples. There’s no reason why we shouldn’t use WebRTC.

There’s a Signaling program coded using node.js that one if we can deploy in Heroku or some hosted servers, then we are good :) Currently the PeerJS samples use the cloud hosted signaling node.js which limits the users count to be 50 concurrent connections.

PeerJS Server - https://github.com/peers/peerjs-server

Like
0 like 
Award Contribution
Leave a reply...
DISCOVER
CHAT
HIRE
ACTIVITY
FEED
New Post
Help
Start Project
Online Users
Share Link