Skip to content

Netplay globe icon not appearing despite EJS_netplayServer and config.netplayUrl being correctly set (v4.2.3 stable) #1185

@Maxadvsoft

Description

@Maxadvsoft

Bug Description

The netplay globe icon (🌐) does not appear in the bottom toolbar even when:

  • EJS_netplayServer is correctly set to a valid self-hosted Netplay Server URL
  • EJS_netplayICEServers is configured with STUN/TURN servers
  • window.EJS_emulator.config.netplayUrl returns the correct value (confirmed via console)
  • The self-hosted Netplay Server is running and responding correctly (verified via /list endpoint)

Steps to Reproduce

  1. Set window.EJS_netplayServer = 'http://127.0.0.1:3001' (or any valid Netplay Server URL)
  2. Set window.EJS_netplayICEServers with STUN/TURN servers
  3. Load any game (tested with SNES, MAME, multiple cores)
  4. Wait for emulator to fully load and press Play button
  5. Observe: No globe icon appears in the toolbar

Expected Behavior

A globe icon (🌐) should appear in the bottom toolbar, allowing users to host or join netplay sessions.

Console Verification

```
frames[0].window.EJS_netplayServer
'http://127.0.0.1:3001'

frames[0].window.EJS_emulator.config.netplayUrl
'http://127.0.0.1:3001'
```

Both values are correctly set, confirming the config is being passed to the emulator.

Environment

  • EmulatorJS version: 4.2.3 (stable)
  • Browser: Chrome (VM environment)
  • Self-hosted Netplay Server: EmulatorJS-Netplay (Node.js + Socket.io)
  • Tested cores: SNES, MAME (multiple games)

Additional Context

  • No console errors related to netplay
  • Tested with latest CDN version (causes black screen, separate issue)
  • Tested with multiple game cores (same result)
  • Netplay Server is functional (returns {} on /list endpoint)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions