Skip to content

feat: remove STUN/ICE server config, replaced by Iroh transport#556

Closed
HexaField wants to merge 1 commit intodevfrom
feat/remove-stun
Closed

feat: remove STUN/ICE server config, replaced by Iroh transport#556
HexaField wants to merge 1 commit intodevfrom
feat/remove-stun

Conversation

@HexaField
Copy link

Summary

Removes all hardcoded STUN server configuration, ICE server management UI, and related handling from Flux. ICE candidates are now provided by the AD4M executor via ad4mClient.runtime.iceCandidates() using addresses discovered by the Iroh transport layer.

Changes

  • Deleted Connection.vue settings tab (sole purpose was STUN server management)
  • Deleted getDefaultIceServers.ts utility
  • Deleted two stun-servers.ts files containing 250+ public STUN server URLs
  • Removed defaultIceServers arrays from constants and webrtcStore
  • Removed IceServer type, addIceServer, removeIceServer, resetIceServers from store
  • Removed ICE server state and callbacks from react-web/useWebrtc.ts
  • Updated WebRTCManager to pass empty iceServers: [] (Iroh provides candidates)
  • Updated CallWindow beta notice to reference Iroh transport

754 lines removed, 6 added.

Dependencies

Requires the AD4M runtimeIceCandidates GraphQL API:

See: coasys/ad4m#719

Removes all hardcoded STUN server lists, ICE server management UI,
and related configuration. ICE candidates are now provided by the
AD4M executor via ad4mClient.runtime.iceCandidates() using addresses
discovered by the Iroh transport layer.

- Remove Connection settings tab from call settings modal
- Remove defaultIceServers from constants and webrtcStore
- Remove getDefaultIceServers utility
- Remove 250+ public STUN server lists from debug/view packages
- Remove ICE server add/remove/reset UI and store methods
- Update CallWindow beta notice to reference Iroh transport
- Pass empty iceServers to WebRTCManager and SfuManager

Part of: coasys/ad4m#719
@netlify
Copy link

netlify bot commented Mar 11, 2026

Deploy Preview for fluxsocial-dev failed. Why did it fail? →

Name Link
🔨 Latest commit b7bb09a
🔍 Latest deploy log https://app.netlify.com/projects/fluxsocial-dev/deploys/69b11602d8b36300087f0c64

@coderabbitai
Copy link

coderabbitai bot commented Mar 11, 2026

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 89ed4a06-2e0e-4f2a-861f-5678eb3b30ce

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/remove-stun

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@HexaField
Copy link
Author

Closing to restart with spec-driven approach.

@HexaField HexaField closed this Mar 11, 2026
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.

1 participant