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

Fix: Reconnects will be attempted even when a disconnect is triggered by afk timeout #215

Merged
merged 3 commits into from
May 3, 2023

Conversation

Belchy06
Copy link
Collaborator

@Belchy06 Belchy06 commented May 3, 2023

Relevant components:

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

Problem statement:

This PR addresses #203.

Solution

When programmatically closing the websocket connection, we set the shouldReconnect bool to false, indicating that the webRtcPlayerController should no attempt to auto reconnect.

Documentation

No updates needed.

Test Plan and Compatibility

Testing completed by triggering a stream restart on the frontend and observed the auto reconnect functionality not being triggered.

Also triggered the reconnect flow and observed it still worked as expected.

…private. This allows users to extend the base PixelStreaming class and access these member
@mcottontensor mcottontensor merged commit 79a1de6 into EpicGames:master May 3, 2023
@adrianZahra
Copy link
Contributor

Looks good.

@Belchy06 Belchy06 deleted the issue-203 branch July 19, 2023 01:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
3 participants