eyevinn-channel-engine 4.0.15 → 4.0.16
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/dist/engine/session.js +1 -1
- package/dist/package.json +1 -1
- package/engine/session.js +1 -1
- package/package.json +1 -1
package/dist/engine/session.js
CHANGED
|
@@ -1040,7 +1040,7 @@ var Session = /** @class */ (function () {
|
|
|
1040
1040
|
case 20:
|
|
1041
1041
|
audioPosition = (_o.sent()) * 1000;
|
|
1042
1042
|
posDiff = position - audioPosition;
|
|
1043
|
-
if (posDiff
|
|
1043
|
+
if (posDiff <= 0) {
|
|
1044
1044
|
return [3 /*break*/, 22];
|
|
1045
1045
|
}
|
|
1046
1046
|
if (posDiff > thresh) {
|
package/dist/package.json
CHANGED
package/engine/session.js
CHANGED
|
@@ -738,7 +738,7 @@ class Session {
|
|
|
738
738
|
do {
|
|
739
739
|
const audioPosition = (await this._getAudioPlayheadPosition(sessionState.vodMediaSeqAudio + index)) * 1000;
|
|
740
740
|
posDiff = position - audioPosition;
|
|
741
|
-
if (posDiff
|
|
741
|
+
if (posDiff <= 0) {
|
|
742
742
|
break;
|
|
743
743
|
}
|
|
744
744
|
if (posDiff > thresh) {
|