Skip to content

Commit

Permalink
#144 grunt
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Apr 5, 2022
1 parent 16040b9 commit 7b1c360
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions 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: 2022-04-05 11:18:05 AM UTC

// ________________
// RecordRTC v5.6.2
Expand Down Expand Up @@ -2261,10 +2261,10 @@ function MediaStreamRecorder(mediaStream, config) {
updateTimeStamp();
mediaRecorder.start(config.timeSlice);
} else {
// default is 60 minutes; enough?
// default is 24 hours; enough? (thanks https://github.com/slidevjs/slidev/pull/488)
// use config => {timeSlice: 1000} otherwise

mediaRecorder.start(3.6e+6);
mediaRecorder.start(24 * 60 * 60 * 1000);
}

if (config.initCallback) {
Expand Down
Loading

0 comments on commit 7b1c360

Please sign in to comment.