IguMail/socketio-shared-webworker

not work in IE 11

paranoid945 opened this issue · 4 comments

not work in IE 11

Yes, shared webworkers is not available in IE and Safari. Only Chrome, Firefox and Opera.
http://caniuse.com/#search=shared%20web%20worker

I will add a conditional test and load original socket.io when webworkers is not supported.

How about using intercom.js as a fallback when shared webworkers was not available?

Does this only use shared webworkers? It cant be written to use a dedicated?

With version ^1.1.0 you can use a Worker using:

ws.setWorkerType(Worker)

It will fallback to regular socket.io if Worker or SharedWorker is not supported.