Skip to content

Commit

Permalink
DataChannel.js — multiple files concurrent transmission supported
Browse files Browse the repository at this point in the history
You can share more than one files simultaneously; without any failure or
lost; also; you can share multiple longest string messages concurrently
too.

Following demo now works fine on chrome too:

https://webrtc-experiment.appspot.com/part-of-screen-sharing/webrtc-data-channel/

You can detect messages latency too; as explained in issue muaz-khan#63:

channel.onmessage = function(message, userid, latency) {
—— console.log('latency:', latency, 'milliseconds');
};

"uuid" added to uniquely identify each file...

// show progress bar!
channel.onFileProgress = function (packets, uuid) {
—— // uuid is file unique identifier
};

"uuid" allows you show more than one progress bars; all progress bars
can be updated concurrently.

A bug in RTCMultiConnection-v1.4 is fixed; now multi-user connectivity
works fine; also "maxParticipantsAllowed".
  • Loading branch information
muaz-khan committed Jul 14, 2013
1 parent 426b27f commit e0b5343
Show file tree
Hide file tree
Showing 9 changed files with 424 additions and 276 deletions.
18 changes: 9 additions & 9 deletions AudioVideoRecorder/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
#### Audio+Video Recording using MediaRecorder / [Demo](https://webrtc-experiment.appspot.com/AudioVideoRecorder/)
##### Audio+Video Recording using MediaRecorder / [Demo](https://webrtc-experiment.appspot.com/AudioVideoRecorder/)

Only audio-relevant parts are supported in the moment. Audio+Video recording coming soon.

Support? Current/Latest Firefox Nightly (ONLY). Understood? Download from: http://nightly.mozilla.org/

----
=

##### How to use RecordRTC?
##### How to use AudioVideoRecorder?

```html
<script src="https://webrtc-experiment.appspot.com/AudioVideoRecorder.js"></script>
```

----
=

#### How to record audio?
##### How to record audio?

```javascript
AudioVideoRecorder({
Expand Down Expand Up @@ -43,18 +43,18 @@ AudioVideoRecorder({
});
```

----
=

#### Browser Support
##### Browser Support

[AudioVideoRecorder.js](https://webrtc-experiment.appspot.com/AudioVideoRecorder/) works fine on following web-browsers:

| Browser | Support |
| ------------- |-------------|
| Firefox | [Nightly](http://nightly.mozilla.org/) |

----
=

#### License
##### License

[AudioVideoRecorder.js](https://webrtc-experiment.appspot.com/AudioVideoRecorder/) is released under [MIT licence](https://webrtc-experiment.appspot.com/licence/) . Copyright (c) 2013 [Muaz Khan](https://plus.google.com/100325991024054712503).
Loading

0 comments on commit e0b5343

Please sign in to comment.