Skip to content

Commit

Permalink
RecordRTC
Browse files Browse the repository at this point in the history
  • Loading branch information
muaz-khan committed Jan 18, 2019
1 parent dea3c6a commit b6c53ad
Show file tree
Hide file tree
Showing 21 changed files with 3,051 additions and 1,311 deletions.
16 changes: 14 additions & 2 deletions RecordRTC/Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ module.exports = function(grunt) {
'dev/MultiStreamsMixer.js', // github/muaz-khan/MultiStreamsMixer
'dev/MultiStreamRecorder.js',
'dev/RecordRTC.promises.js',
// 'dev/WebAssemblyRecorder.js' // grunt-contrib-uglify fails; maybe we should use uglify-es instead?
'dev/WebAssemblyRecorder.js' // grunt-contrib-uglify fails; maybe we should use uglify-es instead?
],
dest: './temp/RecordRTC.js',
},
Expand Down Expand Up @@ -116,7 +116,9 @@ module.exports = function(grunt) {
JSON: true,
typeof: true,
define: true,
EBML: true
EBML: true,
ReadableStream: true,
WritableStream: true
},
browser: true,
browserify: true,
Expand Down Expand Up @@ -214,6 +216,15 @@ module.exports = function(grunt) {
pushTo: 'upstream',
gitDescribeOptions: '--tags --always --abbrev=1 --dirty=-d'
}
},
watch: {
scripts: {
files: ['dev/*.js'],
tasks: ['concat', 'replace', 'jsbeautifier', 'jshint', 'copy', 'uglify', 'clean'],
options: {
spawn: false,
},
}
}
});

Expand All @@ -222,4 +233,5 @@ module.exports = function(grunt) {
// set default tasks to run when grunt is called without parameters
// http://gruntjs.com/api/grunt.task
grunt.registerTask('default', ['concat', 'replace', 'jsbeautifier', 'jshint', 'copy', 'uglify', 'clean']);
grunt.loadNpmTasks('grunt-contrib-watch');
};
2 changes: 1 addition & 1 deletion RecordRTC/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2017 [Muaz Khan](https://github.com/muaz-khan)
Copyright (c) 2013-2020 [Muaz Khan](https://github.com/muaz-khan)

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
Loading

0 comments on commit b6c53ad

Please sign in to comment.