Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Re-order settings order #471

Merged
merged 1 commit into from Jan 15, 2024
Merged

Re-order settings order #471

merged 1 commit into from Jan 15, 2024

Conversation

Belchy06
Copy link
Collaborator

Move settings order so that they are parsed in the following order:

  • default value -> intitial value -> url params

Relevant components:

  • Signalling server
  • Frontend library
  • Frontend UI library
  • Matchmaker
  • Platform scripts
  • SFU

Problem statement:

Addresses #467

Solution

This PR changes the default value when creating the setting object to either be the initial setting value or the default value. Doing it this specific way prevents extra events being emitted about settings being changes.

Test Plan and Compatibility

Tests still work

@Belchy06 Belchy06 merged commit 04c2bc5 into EpicGames:master Jan 15, 2024
1 check passed
cheikhnadiouf pushed a commit to cheikhnadiouf/PixelStreamingInfrastructure that referenced this pull request Feb 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants