hensm / fx_cast

Chromecast Web Sender SDK implementation for Firefox
https://hensm.github.io/fx_cast/
MIT License
1.87k stars 63 forks source link

No bridge found on Ubuntu with snap firefox #219

Closed jlevon closed 2 years ago

jlevon commented 2 years ago

OS version: Ubuntu 22.04 LTS x86_64 Browser version: Firefox 102.0 Extension version: 0.2.0 Bridge version: 0.2.0

Extension can't find the bridge. Browser console shows on e.g. youtube.com

ExtensionError: No such native application fx_cast_bridge
Error: fx_cast (Error): Bridge connection failed and backup not enabled.
hensm commented 2 years ago

The Firefox Snap can't connect to the bridge since it's sandboxed (#59), so you need to run the bridge as a daemon. There's some instructions for setting it up as systemd service in the README, but you can do it however you'd like. When you have it running, enable the daemon connection option under the bridge section on the options page.

jlevon commented 2 years ago

thanks, this worked. https://github.com/hensm/fx_cast/pull/220