Skip to content

Commit

Permalink
Added version 5.6.2 (in this build: PULL #732)
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Mar 9, 2021
1 parent 4565cf9 commit ebae1da
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 15 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -74,8 +74,8 @@ navigator.mediaDevices.getUserMedia({
<!-- recommended -->
<script src="https://www.WebRTC-Experiment.com/RecordRTC.js"></script>

<!-- use 5.6.1 or any other version on cdnjs -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/RecordRTC/5.6.1/RecordRTC.js"></script>
<!-- use 5.6.2 or any other version on cdnjs -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/RecordRTC/5.6.2/RecordRTC.js"></script>

<!-- NPM i.e. "npm install recordrtc" -->
<script src="node_modules/recordrtc/RecordRTC.js"></script>
Expand Down
15 changes: 9 additions & 6 deletions RecordRTC.js
@@ -1,9 +1,9 @@
'use strict';

// Last time updated: 2020-08-25 1:35:59 PM UTC
// Last time updated: 2021-03-09 3:20:22 AM UTC

// ________________
// RecordRTC v5.6.1
// RecordRTC v5.6.2

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

Expand Down Expand Up @@ -781,7 +781,7 @@ function RecordRTC(mediaStream, config) {
* @example
* alert(recorder.version);
*/
version: '5.6.1'
version: '5.6.2'
};

if (!this) {
Expand All @@ -799,7 +799,7 @@ function RecordRTC(mediaStream, config) {
return returnObject;
}

RecordRTC.version = '5.6.1';
RecordRTC.version = '5.6.2';

if (typeof module !== 'undefined' /* && !!module.exports*/ ) {
module.exports = RecordRTC;
Expand Down Expand Up @@ -1815,7 +1815,10 @@ function invokeSaveAsDialog(file, fileName) {
}

var fileExtension = (file.type || 'video/webm').split('/')[1];

if (fileExtension.indexOf(';') !== -1) {
// extended mimetype, e.g. 'video/webm;codecs=vp8,opus'
fileExtension = fileExtension.split(';')[0];
}
if (fileName && fileName.indexOf('.') !== -1) {
var splitted = fileName.split('.');
fileName = splitted[0];
Expand Down Expand Up @@ -5924,7 +5927,7 @@ function RecordRTCPromisesHandler(mediaStream, options) {
* @example
* alert(recorder.version);
*/
this.version = '5.6.1';
this.version = '5.6.2';
}

if (typeof RecordRTC !== 'undefined') {
Expand Down
10 changes: 5 additions & 5 deletions RecordRTC.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion bower.json
@@ -1,6 +1,6 @@
{
"name": "recordrtc",
"version": "5.6.1",
"version": "5.6.2",
"authors": [
{
"name": "Muaz Khan",
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "recordrtc",
"preferGlobal": false,
"version": "5.6.1",
"version": "5.6.2",
"author": {
"name": "Muaz Khan",
"email": "muazkh@gmail.com",
Expand Down

0 comments on commit ebae1da

Please sign in to comment.