videomail-client 8.2.0 → 8.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -541,8 +541,8 @@ const Recorder = function (visuals, replay, defaultOptions = {}) {
541
541
  retryTimeout = setTimeout(initSocket, options.timeouts.userMedia);
542
542
  } else if (unloaded) {
543
543
  /*
544
- * can happen that container is unloaded but some user media related callbacks
545
- * are still in process. in that case ignore error.
544
+ * This can happen when a container is unloaded but some user media related callbacks
545
+ * are still in process. In that case ignore error.
546
546
  */
547
547
  debug("Recorder: already unloaded. Not going to throw error", err);
548
548
  } else {
@@ -1147,7 +1147,7 @@ const Recorder = function (visuals, replay, defaultOptions = {}) {
1147
1147
 
1148
1148
  bytesSum = 0;
1149
1149
 
1150
- frame = new Frame(canvas, options);
1150
+ frame = new Frame(canvas, options.image.types, options.image.quality);
1151
1151
 
1152
1152
  debug("Recorder: record()");
1153
1153
  userMedia.record();
package/TODO.md DELETED
@@ -1,18 +0,0 @@
1
- ### TODOs
2
- | Filename | line # | TODO
3
- |:------|:------:|:------
4
- | src/js/util/audioRecorder.js | 13 | code needs rewrite
5
- | src/js/util/eventEmitter.js | 7 | MAKE EVENT EMITTING IN DESPOT NOT GLOBAL BUT BY CONTAINER ID INSTEAD
6
- | src/js/util/eventEmitter.js | 45 | have this emitted through a configuration because it is pretty noisy
7
- | src/js/util/humanize.js | 4 | get rid of this class and use those imports directly
8
- | src/js/wrappers/container.js | 307 | figure out how to fire dom's onload event again
9
- | src/js/wrappers/container.js | 308 | or how to run all the scripts over again
10
- | src/js/wrappers/optionsWrapper.js | 27 | fix this, it's not really an option
11
- | src/js/wrappers/visuals/recorder.js | 608 | in https://github.com/binarykitchen/videomail-client/issues/142
12
- | src/js/wrappers/visuals/recorder.js | 654 | retry with navigator.getUserMedia_() maybe?
13
- | src/js/wrappers/visuals/recorder.js | 802 | commented out because for some reasons server does
14
- | src/js/wrappers/visuals/recorder.js | 807 | consider removing this later or have it for debug=1 only?
15
- | src/js/wrappers/visuals/userMedia.js | 312 | consider removing that if it's not the case anymore (for better performance)
16
- | gulpfile.js | 2 | write this in ES6 once i have figured out how to
17
- | gulpfile.js | 61 | fix this, so that it also works when not minified, this
18
- | gulpfile.js | 67 | location is bad, should be in a temp folder or so