There is no documentation to enable the events for webRTC. is there any sample where the subscription as well as the peer events are shown..
peer.onpeerconnectionstarted = function(peer){
log("onpeerconnectionstarted", peer);
};
peer.onpeerconnectioncreated = function (peer) {
log("onpeerconnectioncreated", peer);
};
peer.onpeerconnectionlost = function (peer) {
log("onpeerconnectionlost", peer);
};
fail with Xsocket. Subscription undefined title error