Skip to content

Commit df82e74

Browse files
committed
Move to using latest minimal streamer release
1 parent 4f1ea36 commit df82e74

File tree

2 files changed

+17
-12
lines changed

2 files changed

+17
-12
lines changed

.github/workflows/healthcheck-streaming.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ jobs:
6060
uses: robinraju/release-downloader@v1
6161
with:
6262
repository: 'EpicGamesExt/PixelStreamingInfrastructure'
63-
tag: 'minimal-streamer'
64-
fileName: 'Minimal-PixelStreamer-5.5.7z'
63+
tag: 'minimal-streamer-5.5'
64+
fileName: 'Minimal-PixelStreamer-5.5-Win64-Development.7z'
6565

6666
- name: Extract streamer
67-
run: 7z x -oStreamer Minimal-PixelStreamer-5.5.7z
67+
run: 7z x -oStreamer Minimal-PixelStreamer-5.5-Win64-Development.7z
6868

6969
- name: Build Common
7070
working-directory: Common
@@ -109,7 +109,7 @@ jobs:
109109

110110
- name: Run Streamer
111111
working-directory: Streamer
112-
run: Start-Process ".\Minimal\Binaries\Win64\Minimal-Win64-Shipping-Cmd.exe" -ArgumentList "-warp","-dx12","-windowed","-res=1920","-resy=720","-PixelStreamingURL=ws://localhost:8888","-RenderOffScreen","-AllowSoftwareRendering","-PixelStreamingEncoderCodec=vp8", "-Log=Minimal.log"
112+
run: Start-Process ".\Minimal\Binaries\Win64\Minimal-Cmd.exe" -ArgumentList "-warp","-dx12","-windowed","-res=1920","-resy=720","-PixelStreamingURL=ws://localhost:8888","-RenderOffScreen","-AllowSoftwareRendering","-PixelStreamingEncoderCodec=vp8", "-Log=Minimal.log"
113113

114114
- name: Prepare test
115115
working-directory: Extras\MinimalStreamTester

Extras/FrontendTests/tests/resolution_changes.spec.ts

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,22 +41,27 @@ test('Test resolution changes with match viewport off.', {
4141
await page.goto(`/?StreamerId=${streamerId}&MatchViewportRes=false`);
4242

4343
await helpers.startAndWaitForVideo(page);
44-
await page.click("#streamingVideo");
4544

4645
const events = await getEventsFor(streamerPage, async () => {
46+
// We do a click here so we have some player input to send the streamer
47+
await page.click("#streamingVideo");
4748
await page.setViewportSize({ width: 100, height: 100 });
4849
await helpers.delay(1000);
4950
await page.setViewportSize({ width: 800, height: 600 });
5051
await helpers.delay(1000);
5152
});
5253

53-
const firstPlayerId = Object.keys(events)[0];
54-
const singlePlayerEvents = events[firstPlayerId];
55-
const expectedActions: DataChannelEvent[] = [
56-
{ type: PSEventTypes.Command, command: '{\"Resolution.Width\":100,\"Resolution.Height\":100}' },
57-
{ type: PSEventTypes.Command, command: '{\"Resolution.Width\":800,\"Resolution.Height\":600}' },
58-
];
59-
expect(singlePlayerEvents).not.toContainActions(expectedActions);
54+
const firstPlayerId = Object.keys(events).length > 0 ? Object.keys(events)[0] : null;
55+
if(firstPlayerId != null) {
56+
const singlePlayerEvents = events[firstPlayerId];
57+
if(singlePlayerEvents.length > 0) {
58+
const expectedActions: DataChannelEvent[] = [
59+
{ type: PSEventTypes.Command, command: '{\"Resolution.Width\":100,\"Resolution.Height\":100}' },
60+
{ type: PSEventTypes.Command, command: '{\"Resolution.Width\":800,\"Resolution.Height\":600}' },
61+
];
62+
expect(singlePlayerEvents).not.toContainActions(expectedActions);
63+
}
64+
}
6065
});
6166

6267

0 commit comments

Comments
 (0)