·
14 commits
to master
since this release
@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.
peerOptionsis 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.peerOptionsProvideris consulted once per connecting peer and returns the peer options for that peer, falling back topeerOptionsif it throws. On top of it the signalling server adds--turn_secret(or--turn_secret_file) and--turn_ttl, which give everyturn:/turns:entry a time limited username and credential in the form coturn'suse-auth-secretmode expects. Default behaviour is unchanged when no secret is supplied. SeeDocs/Security-Guidelines.md.
Patch Changes
- e9cd872: Stop an unsubscribed player from crashing the signalling server. When a player sends a message without being subscribed,
sendToStreamerforce-subscribes it to the first available streamer and then forwards throughthis.subscribedStreamer!.subscribe()can decline — most commonly becausemaxSubscribersis already reached — and reports that only by leavingsubscribedStreamerunset, 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
- 812a419: - Addressing security issues raised by dependabot. (glob, js-yaml, playwright)
- Added lint npm script to the root project. Running
npm run lintwill now run linting over all packages.
- Added lint npm script to the root project. Running
- Updated dependencies [812a419]
- @epicgames-ps/lib-pixelstreamingcommon-ue5.7@0.1.4
0.2.0
Minor Changes
-
05bebea: Add: Ability to access player id on the frontend.
QoL: Remove player id stripping from the signalling library.It is useful to be able to use the player id as a unique identifier that is common between UE side stats and frontend side stats; however, the player id is not actually exposed to TS/JS because the SS strips it out of signalling messages.
This change is a backport of "Exposed playerid" (#728)