Skip to content

Commit

Permalink
Seems fixed #101 thanks @ruiramos and @robinnorth
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Apr 15, 2016
1 parent 1551d95 commit f86b78a
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
10 changes: 9 additions & 1 deletion RecordRTC.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// Last time updated: 2016-04-15 3:06:46 PM UTC
// Last time updated: 2016-04-15 3:24:52 PM UTC

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

Expand Down Expand Up @@ -2484,6 +2484,10 @@ function CanvasRecorder(htmlElement, config) {
*/
this.resume = function() {
isPausedRecording = false;

if (!isRecording) {
this.record();
}
};

/**
Expand Down Expand Up @@ -2897,6 +2901,10 @@ function WhammyRecorder(mediaStream, config) {
*/
this.resume = function() {
isPausedRecording = false;

if (isStopDrawing) {
this.record();
}
};

/**
Expand Down
6 changes: 3 additions & 3 deletions RecordRTC.min.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions dev/CanvasRecorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@ function CanvasRecorder(htmlElement, config) {
*/
this.resume = function() {
isPausedRecording = false;

if (!isRecording) {
this.record();
}
};

/**
Expand Down
4 changes: 4 additions & 0 deletions dev/WhammyRecorder.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,10 @@ function WhammyRecorder(mediaStream, config) {
*/
this.resume = function() {
isPausedRecording = false;

if (isStopDrawing) {
this.record();
}
};

/**
Expand Down

0 comments on commit f86b78a

Please sign in to comment.