Dan Ristic - Developer Evangelist
High Performance Peer to Peer Data
Dan Ristic - Developer Evangelist
PubNub
"But why aren't these live pictures of the earth?"
var peerConnection = new RTCPeerConnection();
var dataChannel = peerConnection.createDataChannel("myLabel", {
reliable: true
});
dataChannel.onerror = function (err) {
console.log("Channel Error:", err);
};
dataChannel.onmessage = function (event) {
console.log("Got Message:", event.data);
};
dataChannel.send("Hello World!");
All data uses DTLS for security, but speed is the bigger concern so private data should be encrypted
The biggest threat is other users sending malicious data
Utilizing cloud services are a way to present a full featured solution for users
All of your client devices can communicate with each other opening up new ways to interact with your applications.
This could not only change the way users interact but also how users interact with the internet.