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

Bug Fix TCP Relay event to only be emitted once #490

Merged

Conversation

david-macpherson
Copy link
Collaborator

Relevant components:

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

Problem statement:

The WebRtcConnectedEvent was not getting removed once the check had completed successfully. Due to the _setupWebRtcTCPRelayDetect losing context to this

Solution

Bind the _setupWebRtcTCPRelayDetect function to this.

Documentation

Test Plan and Compatibility

Ensured the event is only raised once if the WebRTC connection was made with TURN and the transport set to TCP

Copy link
Contributor

@lukehb lukehb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah yes, the order does matter in this case I suppose.

@lukehb lukehb merged commit fa75e9d into EpicGames:master Feb 19, 2024
1 check passed
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.

2 participants