Skip to content

Commit 7b1c360

Browse files
committed
#144 grunt
1 parent 16040b9 commit 7b1c360

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

RecordRTC.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
'use strict';
22

3-
// Last time updated: 2021-03-09 3:20:22 AM UTC
3+
// Last time updated: 2022-04-05 11:18:05 AM UTC
44

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

2267-
mediaRecorder.start(3.6e+6);
2267+
mediaRecorder.start(24 * 60 * 60 * 1000);
22682268
}
22692269

22702270
if (config.initCallback) {

0 commit comments

Comments
 (0)