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

Not working in service worker #21

Closed
ghost opened this issue Mar 5, 2020 · 1 comment
Closed

Not working in service worker #21

ghost opened this issue Mar 5, 2020 · 1 comment
Labels
question Further information is requested

Comments

@ghost
Copy link

ghost commented Mar 5, 2020

My Bugout instance does not work when I create it in Service Worker. Only the public address from the .address () call is available, but no connection socket is created. Also I do not get any errors in the console. Any ideas or is this impossible?

@chr15m chr15m added the question Further information is requested label Mar 5, 2020
@chr15m
Copy link
Owner

chr15m commented Mar 5, 2020

@Vladborne unfortunately WebRTC channels that the underlying WebTorrent library use are not supported in service workers. See here for more info:

w3c/ServiceWorker#670
w3c/webrtc-pc#230

@chr15m chr15m closed this as completed Mar 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant