Skip to content

Commit

Permalink
Ensure Recorder is mounted in handleRecordingDuration function
Browse files Browse the repository at this point in the history
  • Loading branch information
angekouf committed Aug 4, 2021
1 parent ebae1da commit a13c3b0
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion RecordRTC.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// Last time updated: 2021-03-09 3:20:22 AM UTC
// Last time updated: 2021-08-04 8:28:42 AM UTC

// ________________
// RecordRTC v5.6.2
Expand Down Expand Up @@ -295,6 +295,10 @@ function RecordRTC(mediaStream, config) {
}

function handleRecordingDuration(counter) {
if (!self) {
return;
}

counter = counter || 0;

if (self.state === 'paused') {
Expand Down

0 comments on commit a13c3b0

Please sign in to comment.