Comparing version 4.0.6 to 4.0.7
{ | ||
"name": "recordrtc", | ||
"preferGlobal": true, | ||
"version": "4.0.6", | ||
"version": "4.0.7", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "Muaz Khan", |
@@ -1,2 +0,2 @@ | ||
// Last time updated at Oct 23, 2014, 08:32:23 | ||
// Last time updated at Oct 24, 2014, 08:32:23 | ||
@@ -887,3 +887,3 @@ // updates? | ||
isRecording = false; | ||
whammy.frames = dropFirstFrame(frames); | ||
whammy.frames = frames; | ||
@@ -968,3 +968,3 @@ this.blob = whammy.compile(); | ||
console.log('canvas resolutions', canvas.width, '*', canvas.height); | ||
console.log('video width/height', video.width, '*', video.height); | ||
console.log('video width/height', video.width || canvas.width, '*', video.height || canvas.height); | ||
@@ -1003,3 +1003,3 @@ drawFrames(); | ||
isStopDrawing = true; | ||
whammy.frames = dropFirstFrame(frames); | ||
whammy.frames = frames; | ||
@@ -1571,13 +1571,2 @@ this.blob = whammy.compile(); | ||
// This method is taken from a modified version of MediaStreamRecorder.js! | ||
// To solve first frame that is always blank. | ||
// See: https://github.com/muaz-khan/WebRTC-Experiment/issues/94 | ||
function dropFirstFrame(arr) { | ||
for (var i = 0; i < 60; i++) { | ||
arr.shift(); | ||
} | ||
return arr; | ||
} | ||
if (location.href.indexOf('file:') == 0) { | ||
@@ -1584,0 +1573,0 @@ console.error('Please load this HTML file on HTTP or HTTPS.'); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
68846
1288