Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .changeset/player-forced-subscribe-crash.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/turn-ephemeral-credentials.md

This file was deleted.

10 changes: 10 additions & 0 deletions Signalling/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @epicgames-ps/lib-pixelstreamingsignalling-ue5.6

## 0.2.0

### Minor Changes

- c8cd21a: Allow TURN credentials to be issued per connection rather than shared by every session. `peerOptions` is static, so a credential written there is sent to every peer that ever connects and cannot be changed without a redeploy — the weakness noted in tip 3 of the security guidelines. `IServerConfig.peerOptionsProvider` is consulted once per connecting peer and returns the peer options for that peer, falling back to `peerOptions` if it throws. On top of it the signalling server adds `--turn_secret` (or `--turn_secret_file`) and `--turn_ttl`, which give every `turn:`/`turns:` entry a time limited username and credential in the form coturn's `use-auth-secret` mode expects. Default behaviour is unchanged when no secret is supplied. See `Docs/Security-Guidelines.md`.

### Patch Changes

- e9cd872: Stop an unsubscribed player from crashing the signalling server. When a player sends a message without being subscribed, `sendToStreamer` force-subscribes it to the first available streamer and then forwards through `this.subscribedStreamer!`. `subscribe()` can decline — most commonly because `maxSubscribers` is already reached — and reports that only by leaving `subscribedStreamer` unset, so the non-null assertions throw a TypeError out of a websocket message handler and take the process down, disconnecting every other player. It now checks the subscription took, and disconnects just that player if it did not.

## 0.2.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion Signalling/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epicgames-ps/lib-pixelstreamingsignalling-ue5.8",
"version": "0.1.0",
"version": "0.2.0",
"description": "Basic signalling library for developers wishing to build applications that signal a Pixel Streaming application.",
"main": "dist/cjs/pixelstreamingsignalling.js",
"module": "dist/esm/pixelstreamingsignalling.js",
Expand Down
14 changes: 13 additions & 1 deletion SignallingWebServer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,23 @@
# @epicgames-ps/wilbur

## 3.1.0

### Minor Changes

- c8cd21a: Allow TURN credentials to be issued per connection rather than shared by every session. `peerOptions` is static, so a credential written there is sent to every peer that ever connects and cannot be changed without a redeploy — the weakness noted in tip 3 of the security guidelines. `IServerConfig.peerOptionsProvider` is consulted once per connecting peer and returns the peer options for that peer, falling back to `peerOptions` if it throws. On top of it the signalling server adds `--turn_secret` (or `--turn_secret_file`) and `--turn_ttl`, which give every `turn:`/`turns:` entry a time limited username and credential in the form coturn's `use-auth-secret` mode expects. Default behaviour is unchanged when no secret is supplied. See `Docs/Security-Guidelines.md`.

### Patch Changes

- e9cd872: Stop an unsubscribed player from crashing the signalling server. When a player sends a message without being subscribed, `sendToStreamer` force-subscribes it to the first available streamer and then forwards through `this.subscribedStreamer!`. `subscribe()` can decline — most commonly because `maxSubscribers` is already reached — and reports that only by leaving `subscribedStreamer` unset, so the non-null assertions throw a TypeError out of a websocket message handler and take the process down, disconnecting every other player. It now checks the subscription took, and disconnects just that player if it did not.
- Updated dependencies [e9cd872]
- Updated dependencies [c8cd21a]
- @epicgames-ps/lib-pixelstreamingsignalling-ue5.8@0.2.0

## 2.3.0

### Minor Changes

- 3bb3101: Updates to platform_scripts to fix argument passing to Wilbur.

- Added separator between script parameters and signalling server parameters when using platform scripts
- From now on, anything after the `--` marker on the command line is passed directly to Wilbur.
- Parameters before this marker are intended for the scripts. These parameters are validated and unknown parameters will cause an error.
Expand Down
2 changes: 1 addition & 1 deletion SignallingWebServer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@epicgames-ps/wilbur",
"version": "3.0.0",
"version": "3.1.0",
"description": "A basic signalling server application for Unreal Engine's Pixel Streaming applications.",
"main": "dist/index.js",
"private": true,
Expand Down
Loading