Skip fill peer connections if webxdc internetAccess is allowed
nicodh opened this issue · comments
Noneed to prefill all 500 connections if internet access is allowed anyway
webrtc can access anywhere, so no, there is still a need to prefill/disable it.
especially if we want to make these extension-xdc user replaceable.
Also internet access is heavily limited, at least on desktop it only lets requests to openstreetmaps go through.
I would suggest to set a list of URLS in the advanced settings which are accessible and set openstreetmap.org as a prefilled default (when location streaming is enabled)
Then it's more transparent which URLs maybe accessed and that openstreetmap.org is provided by default and it is extendable in a transparent way...
my opinion: use the core http api for fetching the tiles + maybe specify allowed domains in the webxdc manifest