Browse Source

remove socket.io dependenc and remove of auto set room

Dennis Mårtensson 12 years ago
parent
commit
394459aeab
2 changed files with 0 additions and 5 deletions
  1. 0 4
      example/index.html
  2. 0 1
      package.json

+ 0 - 4
example/index.html

@@ -136,10 +136,6 @@
         
         var room = window.location.hash.slice(1);
 
-        if (room === '') {
-            room = Math.floor(Math.random()*rooms.length);
-            window.location.hash = room;
-        }
         //When connectiong to nodejitsu
         //rtc.connect("http://multiwebrtc.nodejitsu.com/", room);
 

+ 0 - 1
package.json

@@ -6,7 +6,6 @@
     "node": ">= 0.6.0"
   },
   "dependencies": {
-    "socket.io": "latest",
     "webrtc.io": "latest",
     "express": "2.5.1"
   },