Vvkgaming
Vvkgaming
**https://github.com/NetEase/pomelo/wiki/Understanding-connector** Hybridconnector supports tcp and websocket while sioconnector supports socket.io. But in practice, we may need to customize our own connector to meet special demands, pomelo provides the interface to...
["LEAVE", "CANDIDATE", "OFFER", "ANSWER"] in this array add missing message name ....in case of Peerjs ,HEARTBEAT is not there. So after adding HEARTBEAT as ["LEAVE", "CANDIDATE", "OFFER", "ANSWER","HEARTBEAT" ] has...
**while initializing pomelo app like on server** var app = pomelo.createApp(); app.set('name', 'demo'); app.configure('production|development', function(){ }); **add connector config with transports** app.set('connectorConfig', { connector : pomelo.connectors.sioconnector, // 'websocket', 'polling-xhr', 'polling-jsonp',...