Skip to content

Commit 589d46b

Browse files
committed
fix: multi-gateway timelines change timeline when regenerating
1 parent 3136636 commit 589d46b

File tree

6 files changed

+469
-29
lines changed

6 files changed

+469
-29
lines changed

packages/job-worker/src/playout/__tests__/__snapshots__/timeline.test.ts.snap

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,39 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3+
exports[`Timeline Multi-gateway mode In transitions inTransition with existing infinites 1`] = `
4+
[
5+
{
6+
"_id": "mockStudio0",
7+
"generated": 12345,
8+
"generationVersions": {
9+
"blueprintId": "studioBlueprint0",
10+
"blueprintVersion": "0.0.0",
11+
"core": "0.0.0-test",
12+
"studio": "asdf",
13+
},
14+
"timelineBlob": "[]",
15+
"timelineHash": "randomId9011",
16+
},
17+
]
18+
`;
19+
20+
exports[`Timeline Multi-gateway mode Infinite Pieces Infinite Piece has stable timing across timeline regenerations after onPlayoutPlaybackChanged 1`] = `
21+
[
22+
{
23+
"_id": "mockStudio0",
24+
"generated": 12345,
25+
"generationVersions": {
26+
"blueprintId": "studioBlueprint0",
27+
"blueprintVersion": "0.0.0",
28+
"core": "0.0.0-test",
29+
"studio": "asdf",
30+
},
31+
"timelineBlob": "[]",
32+
"timelineHash": "randomId9010",
33+
},
34+
]
35+
`;
36+
337
exports[`Timeline Single-gateway mode Adlib pieces Current part with preroll 1`] = `
438
[
539
{

0 commit comments

Comments
 (0)