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 +6 -0
- package/dist/engine/session.js +3 -6
- package/dist/package.json +1 -1
- package/engine/session.js +1 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -18,6 +18,12 @@
|
|
|
18
18
|
[](https://github.com/eyevinn)
|
|
19
19
|
[](http://slack.streamingtech.se)
|
|
20
20
|
|
|
21
|
+
|
|
22
|
+
</div>
|
|
23
|
+
<div align="center">
|
|
24
|
+
|
|
25
|
+
[](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.
|
package/dist/engine/session.js
CHANGED
|
@@ -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:
|
|
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.
|
|
427
|
-
case
|
|
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
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.
|
|
316
|
+
await this._playheadState.setState(PlayheadState.STOPPED);
|
|
318
317
|
}
|
|
319
318
|
|
|
320
319
|
async getStatusAsync() {
|