Skip to content

Commit dcfa1e5

Browse files
committed
v2.4.30 - Send recorded stream to server.
1 parent 437e116 commit dcfa1e5

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/utils/utils.streamsaver.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727
_this.filename = filename;
2828
_this.readyState = WriterState.INIT;
2929
_writer = writer;
30-
_writer.closed.then(function () {
30+
_writer.closed.catch(function (err) {
31+
}).then(function () {
3132
_logger.log('StreamWriter.closed: ' + _this.filename);
3233
_this.close();
33-
}).catch(function (err) { });
34+
});
3435
}
3536

3637
// Should be called once the first keyframe is detected.

0 commit comments

Comments
 (0)