Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

recordrtc

Package Overview
Dependencies
Maintainers
1
Versions
82
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

recordrtc - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

RecordRTC.js

22

handlers.js

@@ -75,18 +75,18 @@ // 2013, Muaz Khan - www.MuazKhan.com

//child_process = require('child_process');
var command = "ffmpeg -i " + videoFile + " -i " + audioFile + " -map 0:0 -map 1:0 " + mergedFile;
var child = exec(cmd, function(error, stdout, stderr){
var child = exec(command, function(error, stdout, stderr){
stdout ? util.print('stdout: ' + stdout) : null;
stderr ? util.print('stderr: ' + stderr) : null;
if (error) {
console.log('exec error: ' + error);
response.statusCode = 404;
response.end();
} else {
response.statusCode = 200;

@@ -99,3 +99,3 @@ response.writeHead(200, { 'Content-Type': 'application/json' });

fs.unlink(videoFile);
// auto delete file after 1-minute

@@ -105,7 +105,7 @@ setTimeout(function() {

}, 60 * 1000);
}
});
}

@@ -112,0 +112,0 @@ }

{
"name": "recordrtc",
"preferGlobal": true,
"version": "0.0.2",
"version": "0.0.3",
"author": {

@@ -43,4 +43,4 @@ "name": "Muaz Khan",

"homepage": "https://github.com/muaz-khan/WebRTC-Experiment",
"_id": "recordrtc@0.0.2",
"_id": "recordrtc@0.0.3",
"_from": "recordrtc@"
}

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc