vircadia-web-sdk icon indicating copy to clipboard operation
vircadia-web-sdk copied to clipboard

Move select functionality into Web workers

Open ctrlaltdavid opened this issue 3 years ago • 1 comments

Candidates include:

  • AssignmentClient
  • NodeList
  • AudioClient

Consider using https://www.npmjs.com/package/threads.

Be sure to use feature supported by all significant browsers: https://caniuse.com/?search=Web%20Worker

Web Workers should significantly help maintain audio quality in apps.

ctrlaltdavid avatar Sep 23 '22 01:09 ctrlaltdavid

How many is a reasonable number for an app to have? If an app connects to more than 1 domain simultaneously, then does this multiply the number of Web Workers? Should Service Workers be used instead - e.g., to perhaps help address the browser tab sleeping problem.

ctrlaltdavid avatar Oct 11 '22 07:10 ctrlaltdavid