3 ms·
It might be easiest to allow the site running ruffle to provider a websocket via a call on the object. If the site hasn't setup the websocket to use, then the c
by knome 4y ago
It might be easiest to allow the site running ruffle to provider a websocket via a call on the object. If the site hasn't setup the websocket to use, then the code can pretend whatever server the flash object is asking for just isn't reachable. If the javascript interface is just a packet shunt callback, then it's a bit slower, but the host could provide a local bit of javascript implementing a fake server if they wished ( to maybe fake a high score website or something long since gone that the flash thing required ).