Browse Source

setup for loack use

Dennis Mårtensson 12 years ago
parent
commit
c002a3c306
2 changed files with 4 additions and 4 deletions
  1. 2 2
      example/index.html
  2. 2 2
      example/server.js

+ 2 - 2
example/index.html

@@ -159,10 +159,10 @@
             window.location.hash = room;
         }
         //When connectiong to nodejitsu
-        rtc.connect("http://multiwebrtc.nodejitsu.com/", room);
+        //rtc.connect("http://multiwebrtc.nodejitsu.com/", room);
 
         //When using localhost
-        //rtc.connect("http://localhost:8000/", room);
+        rtc.connect("http://localhost:8000/", room);
 
         rtc.on('add remote stream', function(stream, socketId) {
           console.log("ADDING REMOTE STREAM...");

+ 2 - 2
example/server.js

@@ -5,9 +5,9 @@ var colors = {};
 
 
 //When connectiong to nodejitsu
-app.listen(80);
+//app.listen(80);
 //When using localhost
-//app.listen(8000);
+app.listen(8000);
 
 app.get('/', function(req, res) {
   res.sendfile(__dirname + '/index.html');