Skip to content

Commit

Permalink
Merge pull request #657 from stijnvanderpol/fix/missing-byte-in-webm-…
Browse files Browse the repository at this point in the history
…file-signature

Fix corrupted file signatures for webm files
  • Loading branch information
muaz-khan authored Jul 30, 2020
2 parents 7b76ae0 + bafda82 commit 0f787fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions RecordRTC.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict';

// Last time updated: 2020-05-17 5:04:38 PM UTC
// Last time updated: 2020-07-30 11:26:25 AM UTC

// ________________
// RecordRTC v5.6.1
Expand Down Expand Up @@ -2149,7 +2149,7 @@ function MediaStreamRecorder(mediaStream, config) {
}

if (typeof config.timeSlice === 'number') {
if (e.data && e.data.size && e.data.size > 100) {
if (e.data && e.data.size) {
arrayOfBlobs.push(e.data);
updateTimeStamp();

Expand Down
Loading

0 comments on commit 0f787fe

Please sign in to comment.