eyevinn-channel-engine 3.3.7 → 3.3.8
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/engine/session.js +2 -2
- package/package.json +1 -1
package/engine/session.js
CHANGED
|
@@ -523,8 +523,8 @@ class Session {
|
|
|
523
523
|
|
|
524
524
|
if (playheadState.vodMediaSeqVideo > sessionState.vodMediaSeqVideo) {
|
|
525
525
|
const state = await this._sessionState.get("state");
|
|
526
|
-
if ([SessionState.VOD_RELOAD_INIT, SessionState.
|
|
527
|
-
debug(`[${this._sessionId}]: Recently reloaded Vod. PlayheadState not up-to-date. Waiting 500ms before reading from store again`);
|
|
526
|
+
if ([SessionState.VOD_RELOAD_INIT, SessionState.VOD_RELOAD_INITIATING].includes(state)) {
|
|
527
|
+
debug(`[${this._sessionId}]: Recently reloaded Vod. PlayheadState not up-to-date (${playheadState.vodMediaSeqVideo}_${sessionState.vodMediaSeqVideo}). Waiting 500ms before reading from store again`);
|
|
528
528
|
await timer(500);
|
|
529
529
|
playheadState = await this._playheadState.getValues(["mediaSeq", "vodMediaSeqVideo"]);
|
|
530
530
|
} else {
|