Skip to content

Commit 1761389

Browse files
committed
Run gulp
1 parent ed4faf6 commit 1761389

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dist/jssip.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -23163,6 +23163,7 @@ module.exports = /*#__PURE__*/function () {
2316323163
this.recover_attempts = 0;
2316423164
this.recovery_timer = null;
2316523165
this.close_requested = false;
23166+
this.textDecoder = new TextDecoder('utf8');
2316623167

2316723168
if (typeof sockets === 'undefined') {
2316823169
throw new TypeError('Invalid argument.' + ' undefined \'sockets\' argument');
@@ -23406,7 +23407,7 @@ module.exports = /*#__PURE__*/function () {
2340623407
} // Binary message.
2340723408
else if (typeof data !== 'string') {
2340823409
try {
23409-
data = String.fromCharCode.apply(null, new Uint8Array(data));
23410+
data = this.textDecoder.decode(data);
2341023411
} catch (evt) {
2341123412
debug('received binary message failed to be converted into string,' + ' message discarded');
2341223413
return;

dist/jssip.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)