Skip to content

Conversation

@dan-tw
Copy link
Contributor

@dan-tw dan-tw commented Jan 24, 2024

Relevant components:

  • Scalable Pixel Streaming Frontend library
  • Examples

Problem statement:

We had lost the ability to override the signalling server address for local testing

Solution

declare a WEBSOCKET_URL variable via the .env file that, if set, will be loaded in when running local dev testing and replace the signalling server URL builder functionality.

Documentation

Inside examples/typescript there is a .env.example file. Changing this to .env and changing the WEBSOCKET_URL to your custom websocket address will override the signalling server URL builder during testing

Test Plan and Compatibility

Tested locally and on cluster

@dan-tw dan-tw self-assigned this Jan 24, 2024
@dan-tw dan-tw changed the title Re-instate the ability to override the signalling server URL using the .env file for local testing Reinstate the ability to override the signalling server URL using the .env file for local testing Jan 24, 2024
@david-macpherson david-macpherson merged commit 3492371 into ScalablePixelStreaming:main Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants