Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari / iOS syncWorker stops working after four invocations #4

Open
eshaz opened this issue Jul 15, 2022 · 0 comments
Open

Safari / iOS syncWorker stops working after four invocations #4

eshaz opened this issue Jul 15, 2022 · 0 comments

Comments

@eshaz
Copy link
Owner

eshaz commented Jul 15, 2022

In icecast-metadata-player this library is being used to synchronize Icecast streams. When testing in iOS and Safari on MacOS, the web worker implementation only completes successfully four times, and any future invocations fail without any errors.

The first four invocations work fine without any issues. After that, the worker appears to spawn and when correlate is called, which is a function bound to the WASM instance, the worker terminates without calling postMessage. There are no errors or any other indication of a problem, other than the worker terminating prematurely.

Ideas:

  • Use a thread pool that always remains open, if the issue is with a general limit of four workers in Safari.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant