Retrieve/configure ICE server used
WebRTCDataChannel.js hard codes the Vircadia ICE server: iceServers: [{ urls: "stun:ice.vircadia.com:7337" }].
The C++ equivalent is ICE_SERVER_DEFAULT_HOSTNAME in NetworkingConstants.h, though it can be overridden by a command line parameter when starting the domain server - https://docs.vircadia.com/developer/domain-server/command-line-parameters.html.
It may perhaps be necessary for Interface to get the ICE server address from the metaverse server for the chosen metaverse.
Similarly for other networking constants.
From Misterblue:
The request "https://metaverse.vircadia.com/live/api/metaverse_info" returns a JSON structure that includes and ICE server url ("ice_server_url") as well as server version info. That request can be enhanced with a bunch of initial configuration information.
Too early to do this one: the Vircadia ICE (STUN) server doesn't work for WebRTC which is a problem I'm grappling with currently.