Skip to content

Commit

Permalink
v19.2.2
Browse files Browse the repository at this point in the history
OnDisconnect event fix
  • Loading branch information
Atak3n committed Feb 22, 2019
1 parent 8f8a83d commit c7e220f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions dist/FlussonicMsePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ var MSEPlayer = function () {
_createClass(MSEPlayer, null, [{
key: 'version',
get: function get() {
return "19.2.15";
return "19.2.2";
}
}]);

Expand Down Expand Up @@ -744,7 +744,7 @@ var MSEPlayer = function () {

this.ws = new _ws2.default({
message: this.dispatchMessage.bind(this),
closed: this.onDisconnect.bind(this),
closed: this.onDisconnect ? this.onDisconnect.bind(this) : null,
error: this.onError
});

Expand Down
2 changes: 1 addition & 1 deletion dist/FlussonicMsePlayer.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions examples/simple/public/FlussonicMsePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ var MSEPlayer = function () {
_createClass(MSEPlayer, null, [{
key: 'version',
get: function get() {
return "19.2.15";
return "19.2.2";
}
}]);

Expand Down Expand Up @@ -744,7 +744,7 @@ var MSEPlayer = function () {

this.ws = new _ws2.default({
message: this.dispatchMessage.bind(this),
closed: this.onDisconnect.bind(this),
closed: this.onDisconnect ? this.onDisconnect.bind(this) : null,
error: this.onError
});

Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flussonic/flussonic-mse-player",
"version": "19.2.15",
"version": "19.2.2",
"description": "Media Source Extension support for Flussonic.",
"main": "./dist/FlussonicMsePlayer.js",
"keywords": [
Expand Down
2 changes: 1 addition & 1 deletion src/modules/MsePlayer.external.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export default class MSEPlayer {

this.ws = new WebSocketController({
message: this.dispatchMessage.bind(this),
closed: this.onDisconnect.bind(this),
closed: this.onDisconnect ? this.onDisconnect.bind(this) : null,
error: this.onError,
})

Expand Down

0 comments on commit c7e220f

Please sign in to comment.