eyevinn-channel-engine 3.3.4 → 3.3.5

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.
@@ -628,6 +628,9 @@ class StreamSwitcher {
628
628
  if (lastSeg.uri && !lastSeg.discontinuity) {
629
629
  toSegments[bw].push({ discontinuity: true, cue: { in: true } });
630
630
  OUTPUT_SEGMENTS[bw] = toSegments[bw].concat(fromSegments[targetBw]);
631
+ } else if (lastSeg.discontinuity && !lastSeg.cue) {
632
+ toSegments[bw][toSegments[bw].length - 1].cue = { in: true }
633
+ OUTPUT_SEGMENTS[bw] = toSegments[bw].concat(fromSegments[targetBw]);
631
634
  } else {
632
635
  OUTPUT_SEGMENTS[bw] = toSegments[bw].concat(fromSegments[targetBw]);
633
636
  OUTPUT_SEGMENTS[bw].push({ discontinuity: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eyevinn-channel-engine",
3
- "version": "3.3.4",
3
+ "version": "3.3.5",
4
4
  "description": "OTT TV Channel Engine",
5
5
  "main": "index.js",
6
6
  "scripts": {