Skip to content

Commit

Permalink
v2.4.30 - Send recorded stream to server.
Browse files Browse the repository at this point in the history
  • Loading branch information
oddengine committed Feb 10, 2023
1 parent 437e116 commit dcfa1e5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/utils/utils.streamsaver.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
_this.filename = filename;
_this.readyState = WriterState.INIT;
_writer = writer;
_writer.closed.then(function () {
_writer.closed.catch(function (err) {
}).then(function () {
_logger.log('StreamWriter.closed: ' + _this.filename);
_this.close();
}).catch(function (err) { });
});
}

// Should be called once the first keyframe is detected.
Expand Down

0 comments on commit dcfa1e5

Please sign in to comment.