Skip to content

Commit

Permalink
readme changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Contra committed Feb 19, 2013
1 parent b4abf17 commit 78fd73b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 38 deletions.
38 changes: 3 additions & 35 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,3 @@
![status](https://secure.travis-ci.org/wearefractal/holla.png?branch=master)

## Information

<table>
<tr>
<td>Package</td>
<td>holla</td>
</tr>
<tr>
<td>Description</td>
<td>A sugary abstraction layer over WebRTC and P2P calling</td>
</tr>
<tr>
<td>Node Version</td>
<td>>= 0.6</td>
</tr>
</table>

## Support

holla has full support for Chrome 24+ and Firefox 21+ (Currently Nightly)
Expand All @@ -32,6 +13,7 @@ var rtc = holla.createServer(server);

console.log('Server running on port 8080');
```

Note: Express 3 is no longer a httpServer so you need to do something like:
```javascript
var server = require('http').createServer(app).listen(8080);
Expand All @@ -44,18 +26,11 @@ Sending a call:

```javascript
var rtc = holla.createClient();

rtc.register("tom", function(worked) {
holla.createFullStream(function(err, stream) {

var call = rtc.call("bob");
call.addStream(stream);
holla.pipe(stream, $("#me"));

call.on("answered", function() {
console.log("Remote user answered the call");
});

console.log("Calling ", call.user);
});
});
```
Expand All @@ -64,20 +39,13 @@ Receiving a call:

```javascript
var rtc = holla.createClient();

rtc.register("bob", function(worked) {
rtc.on("call", function(call) {
console.log("Inbound call from ", call.user);

holla.createFullStream(function(err, stream) {

call.addStream(stream);
call.answer();
holla.pipe(stream, $("#me"));

call.ready(function(stream) {
holla.pipe(stream, $("#them"));
});

});

});
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "holla",
"version": "0.6.0",
"version": "0.6.1",
"dependencies": {
"wearefractal/protosock": "*",
"component/emitter": "*"
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "holla",
"description": "A sugary abstraction layer over WebRTC and P2P calling",
"version": "0.6.0-1",
"description": "An abstraction over P2P video/voice/data connections using WebRTC",
"version": "0.6.1",
"homepage": "http://github.com/wearefractal/holla",
"repository": "git://github.com/wearefractal/holla.git",
"author": "Fractal <[email protected]> (http://wearefractal.com/)",
Expand Down

0 comments on commit 78fd73b

Please sign in to comment.