World's easiest webrtc
Want to see it in action? Check out the demo: https://talky.io/
var webrtc =// the id/element dom element that will hold "our" videolocalVideoEl: 'localVideo'// the id/element dom element that will hold remote videosremoteVideosEl: 'remoteVideos'// immediately ask for camera accessautoRequestMedia: true;
// we have to wait until it's readywebrtcon'readyToCall'// you can name it anythingwebrtcjoinRoom'your awesome room name';;
peerConnectionConfig - Set this to specify your own STUN and TURN servers. By default, SimpleWebRTC uses Google's public STUN server (
stun.l.google.com:19302), which is intended for public use according to: https://twitter.com/HenrikJoreteg/status/354105684591251456
Note that you will most likely also need to run your own TURN servers. See http://www.html5rocks.com/en/tutorials/webrtc/infrastructure/ for a basic tutorial.
Sending files between individual participants is supported. See http://simplewebrtc.com/filetransfer.html for a demo.
Note that this is not file sharing between a group which requires a completly different approach.
Sometimes you need to do more advanced stuff. See http://simplewebrtc.com/notsosimple.html for some examples.
Join the SimpleWebRTC discussion list:
or the Gitter channel: