eyevinn-channel-engine 4.3.11 → 4.3.12

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.
package/README.md CHANGED
@@ -18,6 +18,12 @@
18
18
  [![made with hearth by Eyevinn](https://img.shields.io/badge/made%20with%20%E2%99%A5%20by-Eyevinn-59cbe8.svg?style=flat-square)](https://github.com/eyevinn)
19
19
  [![Slack](http://slack.streamingtech.se/badge.svg)](http://slack.streamingtech.se)
20
20
 
21
+
22
+ </div>
23
+ <div align="center">
24
+
25
+ [![Badge OSC](https://img.shields.io/badge/Evaluate-24243B?style=for-the-badge&logo=data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGNpcmNsZSBjeD0iMTIiIGN5PSIxMiIgcj0iMTIiIGZpbGw9InVybCgjcGFpbnQwX2xpbmVhcl8yODIxXzMxNjcyKSIvPgo8Y2lyY2xlIGN4PSIxMiIgY3k9IjEyIiByPSI3IiBzdHJva2U9ImJsYWNrIiBzdHJva2Utd2lkdGg9IjIiLz4KPGRlZnM%2BCjxsaW5lYXJHcmFkaWVudCBpZD0icGFpbnQwX2xpbmVhcl8yODIxXzMxNjcyIiB4MT0iMTIiIHkxPSIwIiB4Mj0iMTIiIHkyPSIyNCIgZ3JhZGllbnRVbml0cz0idXNlclNwYWNlT25Vc2UiPgo8c3RvcCBzdG9wLWNvbG9yPSIjQzE4M0ZGIi8%2BCjxzdG9wIG9mZnNldD0iMSIgc3RvcC1jb2xvcj0iIzREQzlGRiIvPgo8L2xpbmVhckdyYWRpZW50Pgo8L2RlZnM%2BCjwvc3ZnPgo%3D)](https://app.osaas.io/browse/channel-engine)
26
+
21
27
  </div>
22
28
 
23
29
  Eyevinn Channel Engine is a core component library for creating FAST channels based on VOD2Live technology. Combine this vod2live technology component with your business and scheduling logic to build your very own and unique FAST channel engine.
@@ -416,15 +416,12 @@ var Session = /** @class */ (function () {
416
416
  };
417
417
  Session.prototype.stopPlayheadAsync = function () {
418
418
  return __awaiter(this, void 0, void 0, function () {
419
- var isLeader;
420
419
  return __generator(this, function (_a) {
421
420
  switch (_a.label) {
422
- case 0: return [4 /*yield*/, this._sessionStateStore.isLeader(this._instanceId)];
423
- case 1:
424
- isLeader = _a.sent();
421
+ case 0:
425
422
  debug("[".concat(this._sessionId, "]: Stopping playhead consumer"));
426
- return [4 /*yield*/, this._playheadState.set("state", PlayheadState.STOPPED, isLeader)];
427
- case 2:
423
+ return [4 /*yield*/, this._playheadState.setState(PlayheadState.STOPPED)];
424
+ case 1:
428
425
  _a.sent();
429
426
  return [2 /*return*/];
430
427
  }
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
4
4
  "description": "OTT TV Channel Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/engine/session.js CHANGED
@@ -312,9 +312,8 @@ class Session {
312
312
  }
313
313
 
314
314
  async stopPlayheadAsync() {
315
- const isLeader = await this._sessionStateStore.isLeader(this._instanceId);
316
315
  debug(`[${this._sessionId}]: Stopping playhead consumer`);
317
- await this._playheadState.set("state", PlayheadState.STOPPED, isLeader);
316
+ await this._playheadState.setState(PlayheadState.STOPPED);
318
317
  }
319
318
 
320
319
  async getStatusAsync() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "4.3.11",
3
+ "version": "4.3.12",
4
4
  "description": "OTT TV Channel Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",