Skip to content

Commit

Permalink
Released: recordrtc@5.4.2
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Jun 15, 2017
1 parent 7a47cc7 commit 08078df
Show file tree
Hide file tree
Showing 6 changed files with 60 additions and 52 deletions.
58 changes: 50 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Please check [dev](https://github.com/muaz-khan/RecordRTC/tree/master/dev) direc

* https://travis-ci.org/muaz-khan/RecordRTC

Tests source code:

* https://github.com/muaz-khan/RecordRTC/tree/master/test

## Free?

It is <a href="https://www.webrtc-experiment.com/licence/">MIT Licenced</a>, which means that you can use it in any commercial/non-commercial product, free of cost.
Expand Down Expand Up @@ -222,8 +226,8 @@ bower install recordrtc
You can even link specific [releases](https://github.com/muaz-khan/RecordRTC/releases):

```html
<!-- use 5.4.1 or any other version -->
<script src="https://github.com/muaz-khan/RecordRTC/releases/download/5.4.1/RecordRTC.js"></script>
<!-- use 5.4.2 or any other version -->
<script src="https://github.com/muaz-khan/RecordRTC/releases/download/5.4.2/RecordRTC.js"></script>
```

## How to capture stream?
Expand Down Expand Up @@ -1104,6 +1108,10 @@ recorder.stopRecording().then(function(url) {
</script>
```

Demo:

* [simple-demos/RecordRTCPromisesHandler.html](https://github.com/muaz-khan/RecordRTC/blob/master/simple-demos/RecordRTCPromisesHandler.html)

## Credits

1. [Recorderjs](https://github.com/mattdiamond/Recorderjs) for audio recording
Expand All @@ -1112,11 +1120,10 @@ recorder.stopRecording().then(function(url) {

## Spec & Reference

1. [Web Audio API](https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html)
2. [MediaRecorder](https://wiki.mozilla.org/Gecko:MediaRecorder)
1. [MediaRecorder API](https://w3c.github.io/mediacapture-record/MediaRecorder.html)
2. [Web Audio API](https://dvcs.w3.org/hg/audio/raw-file/tip/webaudio/specification.html)
3. [Canvas2D](http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/)
4. [MediaStream Recording](https://dvcs.w3.org/hg/dap/raw-file/tip/media-stream-capture/MediaRecorder.html)
5. [Media Capture and Streams](http://www.w3.org/TR/mediacapture-streams/)
4. [Media Capture and Streams](http://www.w3.org/TR/mediacapture-streams/)

## Contribute in [RecordRTC.org](http://RecordRTC.org) domain

Expand All @@ -1131,11 +1138,46 @@ The domain www.RecordRTC.org is open-sourced here:
* Disqus: https://www.webrtc-experiment.com/RecordRTC/#ask
* Email: muazkh@gmail.com

# Tests Sponsored By
# Travis Failed?

Steps to fix it (for your private projects only):

Modify `package.json` and search this line:

```json
{
"test": "./node_modules/.bin/protractor test/browserstack.config.js"
}
```

Replace it with (i.e. ignore all "test"):

```json
{
"test": "node npm-test.js"
}
```

Why? Reason is this file: `test/browserstack.config.js`

```javascript
'browserstack.user': process.env.BROWSERSTACK_USERNAME,
'browserstack.key': process.env.BROWSERSTACK_KEY,
```

**Your travis do NOT have these environment variables. That's why your travis builds fails.**

More info: https://github.com/muaz-khan/RecordRTC/pull/283#issuecomment-308757116

> Caution: NEVER make pull-request for modified `package.json`. Modify this file only for your own private projects.
# Tests sponsored by

<a href="https://www.browserstack.com"><img src="https://webrtcweb.com/browserstack.svg" height="32px" /></a>

**Check tests here:** https://travis-ci.org/muaz-khan/RecordRTC
**Check all tests here:** https://travis-ci.org/muaz-khan/RecordRTC

**Source code:** https://github.com/muaz-khan/RecordRTC/tree/master/test

## License

Expand Down
4 changes: 2 additions & 2 deletions RecordRTC.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
'use strict';

// Last time updated: 2017-06-15 3:23:18 PM UTC
// Last time updated: 2017-06-15 4:20:11 PM UTC

// ________________
// RecordRTC v5.4.1
// RecordRTC v5.4.2

// Open-Sourced: https://github.com/muaz-khan/RecordRTC

Expand Down
4 changes: 2 additions & 2 deletions RecordRTC.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "recordrtc",
"version": "5.4.1",
"version": "5.4.2",
"authors": [
{
"name": "Muaz Khan",
Expand Down
42 changes: 4 additions & 38 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1819,8 +1819,8 @@ <h2 class="header">
};
</script>

<section class="experiment" style="padding: 10px 20px;">
You can try <a href="https://chrome.google.com/webstore/detail/recordrtc/ndcljioonkecdnaaihodjgiliohngojp">a chrome extension for screen recording</a> as well!
<section class="experiment" style="padding: 10px 20px; text-align: center;">
You can try <a href="https://chrome.google.com/webstore/detail/recordrtc/ndcljioonkecdnaaihodjgiliohngojp">a <strong>chrome extension</strong> for screen recording</a> as well!
</section>

<section class="experiment" id="other-demos">
Expand Down Expand Up @@ -1980,43 +1980,9 @@ <h2 class="header" id="feedback">Feedback</h2>
<small style="margin-left: 1em;">Enter your email too; if you want "direct" reply!</small>
</section>

<section class="experiment" id="browser-support">
<h2 class="header"><a href="#browser-support">Using RecordRTC...</a></h2>

<ol>
<li>
You can record both Audio/Video in single WebM file. (Chrome+Firefox)
</li>

<li>
You can record both Audio/Screen in single WebM file. (Chrome+Firefox)
</li>

<li>
You can record audio in WAV format. (Chrome+Firefox+Opera+Edge)
</li>

<li>
You can record 2D Canvas animations. (Chrome+Firefox)
</li>

<li>
You can record webpage activity; a tab's activity; or entire screen; or a specific application's screen. (Chrome+Firefox)
</li>

<li>
You can record Gif in all browsers.
</li>
</ol>

<p style="margin-top: 0;">
You can even control buffer-size, sample-rates, video-resolutions, bit-rates etc.
</p>
</section>

<section class="experiment">
<p style="margin-top: 0;">
RecordRTC is MIT licensed on Github! <a href="https://github.com/muaz-khan/RecordRTC" target="_blank">Documentation</a>
<p style="margin-top: 6px; text-align: center;">
<a href="https://github.com/muaz-khan/RecordRTC">RecordRTC is Open-Sourced (MIT licensed) on Github!</a>
</p>
</section>

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "recordrtc",
"preferGlobal": false,
"version": "5.4.1",
"version": "5.4.2",
"author": {
"name": "Muaz Khan",
"email": "muazkh@gmail.com",
Expand Down

0 comments on commit 08078df

Please sign in to comment.