diff --git a/README.md b/README.md
index ea4fbe7..41a015b 100644
--- a/README.md
+++ b/README.md
@@ -1,31 +1,18 @@
-# Remote Control Server
+# peer-calls
-[](https://travis-ci.org/jeremija/remote-control-server)
+[](https://travis-ci.org/jeremija/peer-calls)
-Remote control your PC from your web browser on your other PC or mobile device.
-
-Supports mouse movements, scrolling, clicking and keyboard input.
+WebRTC peer to peer calls for anybody.
Work in progress.
-
-
-
-
# Install & Run
-Install from npm:
+From git source:
```bash
-npm install -g remote-control-server
-remote-control-server
-```
-
-or use from git source:
-
-```bash
-git clone https://github.com/jeremija/remote-control-server.git
-cd node-mobile-remote
+git clone https://github.com/jeremija/peer-calls.git
+cd peer-calls
npm install
npm start
```
@@ -36,13 +23,15 @@ On your other machine or mobile device open the url:
http://192.168.0.10:3000
```
+# Running the tests
+
+```bash
+npm install
+make test
+```
+
Replace `192.168.0.10` with the LAN IP address of your server.
-# Note
-
-This package requires [robotjs](https://www.npmjs.com/package/robotjs) so make
-sure you have the required prerequisites installed for compiling that package.
-
# license
MIT
diff --git a/package.json b/package.json
index 70edf7f..e7196d4 100644
--- a/package.json
+++ b/package.json
@@ -1,12 +1,9 @@
{
- "name": "remote-control-server",
+ "name": "peercalls",
"version": "1.3.2",
- "description": "Remote control your PC from your web browser on your other PC or mobile device",
- "repository": "https://github.com/jeremija/remote-control-server",
+ "description": "Group peer to peer video calls for anybody.",
+ "repository": "https://github.com/jeremija/peer-calls",
"main": "src/index.js",
- "bin": {
- "remote-control-server": "./dist/index.js"
- },
"scripts": {
"start": "node src/index.js",
"test": "jest --coverage",
diff --git a/src/index.js b/src/index.js
index 972a2d5..446a24d 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,7 +1,7 @@
#!/usr/bin/env node
'use strict';
if (!process.env.DEBUG) {
- process.env.DEBUG = 'video-server:*';
+ process.env.DEBUG = 'peercalls:*';
}
const express = require('express');
diff --git a/src/js/index.js b/src/js/index.js
index 4295765..3bc9abd 100644
--- a/src/js/index.js
+++ b/src/js/index.js
@@ -1,13 +1,13 @@
'use strict';
if (window.localStorage && !window.localStorage.debug) {
- window.localStorage.debug = 'video-client:*';
+ window.localStorage.debug = 'peercalls:*';
}
const App = require('./components/app.js');
const React = require('react');
const ReactDom = require('react-dom');
const activeStore = require('./store/activeStore.js');
-const debug = require('debug')('video-client:index');
+const debug = require('debug')('peercalls:index');
const dispatcher = require('./dispatcher/dispatcher.js');
const getUserMedia = require('./browser/getUserMedia.js');
const handshake = require('./peer/handshake.js');
diff --git a/src/js/peer/handshake.js b/src/js/peer/handshake.js
index a4cb18a..56c25d8 100644
--- a/src/js/peer/handshake.js
+++ b/src/js/peer/handshake.js
@@ -1,6 +1,6 @@
'use strict';
const Peer = require('./Peer.js');
-const debug = require('debug')('video-client:peer');
+const debug = require('debug')('peercalls:peer');
const dispatcher = require('../dispatcher/dispatcher.js');
const _ = require('underscore');
diff --git a/src/js/store/activeStore.js b/src/js/store/activeStore.js
index 92d5f0a..0c8281e 100644
--- a/src/js/store/activeStore.js
+++ b/src/js/store/activeStore.js
@@ -1,6 +1,6 @@
'use strict';
const EventEmitter = require('events');
-const debug = require('debug')('video-client:activeStore');
+const debug = require('debug')('peercalls:activeStore');
const dispatcher = require('../dispatcher/dispatcher.js');
const emitter = new EventEmitter();
diff --git a/src/js/store/streamStore.js b/src/js/store/streamStore.js
index 4951cdf..56f7b94 100644
--- a/src/js/store/streamStore.js
+++ b/src/js/store/streamStore.js
@@ -1,6 +1,6 @@
'use strict';
const EventEmitter = require('events');
-const debug = require('debug')('video-client:streamStore');
+const debug = require('debug')('peercalls:streamStore');
const dispatcher = require('../dispatcher/dispatcher.js');
const emitter = new EventEmitter();
diff --git a/src/server/socket.js b/src/server/socket.js
index 7ae706d..2e555ba 100644
--- a/src/server/socket.js
+++ b/src/server/socket.js
@@ -1,5 +1,5 @@
'use strict';
-const debug = require('debug')('video-server:socket');
+const debug = require('debug')('peercalls:socket');
const _ = require('underscore');
module.exports = function(socket, io) {
diff --git a/src/views/index.jade b/src/views/index.jade
index 20effc4..c6660c8 100644
--- a/src/views/index.jade
+++ b/src/views/index.jade
@@ -1,7 +1,7 @@
doctype html
html
head
- title Remote Control
+ title Peer Call
meta(name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no")
meta(name="mobile-web-app-capable" content="yes")
meta(name="apple-mobile-web-app-capable" content="yes")