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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "4.2.6",
3
+ "version": "4.2.7",
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
@@ -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) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "4.2.6",
3
+ "version": "4.2.7",
4
4
  "description": "OTT TV Channel Engine",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",