v0.5: Operator-configurable ICE servers via DataWebRTC.ICEServers #23

Closed
opened 2026-05-10 21:02:59 -04:00 by zgaetano · 0 comments
Owner

Implemented in commits 9aaba9b / b6d2a77 / 4364d91 / b3e667c.

Changes:

  • config/data.go: Added ICEServers []string to DataWebRTC with explanatory comment
  • config/config.go: Registered CORE_WEBRTC_ICE_SERVERS env var (comma-separated) in init(); added copy.Slice in Clone()
  • app/webrtc/subsystem.go: In New(), if dataCfg.ICEServers is non-empty the slice is deep-copied into coreCfg.ICEServers, replacing the built-in Pion defaults; empty list = keep defaults
  • app/webrtc/handler_test.go: Added TestSubsystem_ICEServers_OperatorOverride verifying custom URIs replace defaults and built-in URIs are absent
Implemented in commits 9aaba9b / b6d2a77 / 4364d91 / b3e667c. **Changes:** - `config/data.go`: Added `ICEServers []string` to `DataWebRTC` with explanatory comment - `config/config.go`: Registered `CORE_WEBRTC_ICE_SERVERS` env var (comma-separated) in `init()`; added `copy.Slice` in `Clone()` - `app/webrtc/subsystem.go`: In `New()`, if `dataCfg.ICEServers` is non-empty the slice is deep-copied into `coreCfg.ICEServers`, replacing the built-in Pion defaults; empty list = keep defaults - `app/webrtc/handler_test.go`: Added `TestSubsystem_ICEServers_OperatorOverride` verifying custom URIs replace defaults and built-in URIs are absent
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: zgaetano/datarhei-dragonfork-core#23
No description provided.