eyevinn-channel-engine 4.2.6 → 4.2.7
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
|
@@ -1161,7 +1161,7 @@ var Session = /** @class */ (function () {
|
|
|
1161
1161
|
audioPosition = (_s.sent()) * 1000;
|
|
1162
1162
|
positionA = audioPosition / 1000;
|
|
1163
1163
|
posDiff = position - audioPosition;
|
|
1164
|
-
if (posDiff <= 0) {
|
|
1164
|
+
if (posDiff <= 0.001) {
|
|
1165
1165
|
return [3 /*break*/, 22];
|
|
1166
1166
|
}
|
|
1167
1167
|
if (posDiff > thresh) {
|
package/dist/package.json
CHANGED
package/engine/session.js
CHANGED
|
@@ -841,7 +841,7 @@ class Session {
|
|
|
841
841
|
const audioPosition = (await this._getAudioPlayheadPosition(sessionState.vodMediaSeqAudio + index)) * 1000;
|
|
842
842
|
positionA = audioPosition / 1000;
|
|
843
843
|
posDiff = position - audioPosition;
|
|
844
|
-
if (posDiff <= 0) {
|
|
844
|
+
if (posDiff <= 0.001) {
|
|
845
845
|
break;
|
|
846
846
|
}
|
|
847
847
|
if (posDiff > thresh) {
|