-
-
Notifications
You must be signed in to change notification settings - Fork 549
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
Calls not working #1189
Comments
I'm experiencing this on my Windows 10 machines as well. |
Video call not working since few days. |
Should note that it also applies to regular voice calls. |
note : version 2.39.0 works fine |
Nice to know. Just downgraded and working great now! |
This is still an issue for all platforms. A reinstall of Caprine will temporarily fix call functionality but will break again after calls are made or received... There is no need to uninstall Caprine before reinstalling again.. Again. as stated above v2.39.0 does not contain this bug. |
If you don't need Dark Mode, 2.39.0 is the way to go at the moment. It is very stable, at least from my own experience. To avoid auto-update on macOS, just rename the app to something else, e.g. Caprine 2.39.app. Can't speak for other platforms though. |
It's good that we've got a workaround which is a temporary downgrade. However, the issue is still persistent in version 2.43.0 while calls work just fine on Chrome and other browsers. Attached is the screenshot of the blank window which appears when you initiate/join calls. Are there any updates on this? |
I did some digging with my limited knowledge of electron. Messenger will open a window with I did a very simple test with the following html <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<script>
function onClick() {
const linkWindow = window.open("", "_blank");
setTimeout(() => {
linkWindow.location.href="https://google.com"
}, 2000)
}
</script>
</head>
<body>
<div id="root">
<button onclick="onClick()">
click me
</button>
</div>
</body>
</html> This works in any browser, but not in electron. |
Just discovered, that on macOS there is already native Messenger available built by Facebook, switching to that app myself https://apps.apple.com/pl/app/messenger/id1480068668?mt=12 |
The app you referenced @kopach is not available in all countries, including Norway :( |
@kopach This app available only for |
But why? If someone wants to try the official app, I uploaded it here |
Literally can't even install 2.39.0 anymore. No idea what's going on with the installer but it just gets stuck on "installing, please wait..." whereas the installer for 2.44.0 is fine. Don't know why there's no |
After some time using official app – I would prefer switching back to Caprine, which is IMHO more functional and easy to use, if this ticket get solved. The only issue with Caprine for me now - not working calls :/ |
The problem with Caprine is that it uses the web interface. The official app works like the mobile app; it uses a database to store messages and thus it loads faster and its less laggier/more responsive. This is not something Caprine can do (unless someone digs through messenger's api and use that), so it's not as good as the official.. (I'm not telling that Caprine is not good, Caprine is as good as it can be but it can't be as good as the original) |
The same on Linux, Caprine 2.44.0 (appimage). |
Everyone should have this problem. Facebook changed something in Messenger that broke Caprine |
|
Well, now it's on Windows too if anyone wants to try |
Official App is available on the Mac App Store too. |
Same for me. KDE-Neon and .deb package. Video and calls not working, only white blank page. |
The next text is outdated, see update below I have resolved this on my local testing electron app (Calls doesn't work there either.) As @Cellule pointed out, there is some inconsistency (pretty big it seems) between electron's The problem is in that, when trying to open a new call, Messenger's scripts are trying to open a blank window (we can see that) and then further in, the new url location of that window is set. Something like this (their code is obfuscated) h = window.open("", "Group Call", "some other params");
h.location = k; // where k is a path looking like "/groupcall/lots/of/other/params" Now, it seems this usage is completely incompatible with Electron. Normal browser would handle this and prefix the new location with your current hostname if you don't provide one in .open or in the new location itself. For example doing the same on electron but without passing any args (just Compared, on my Firefox it works as it is probably widely expected and that is, if you pass only new path, your current's window proto+hostname+path is automatically used as base for that path. So If I do this in a window with current location For now I've resovled this using I wrote all of the above yesterday and I will keep it there just for the "documentation" sake.So, today I found out there is a Electron webcontent's setting that allows the But, with Caprine this isn't that easy as there is a bit of logic around For example, without also setting TLDR
Solutions
Edit: added nativeWindowOpen as another possible solution |
https://github.com/sindresorhus/caprine/releases/download/v2.57.0/caprine_2.57.0_amd64.deb video chat dont work, only for 3sec caprine_2.55.2_amd64.deb perfect with MINT20 sys |
thanks @kolo-bezka . you saved my day 👍 |
It shows only a blank white window. Can't receive call either. It works on Chrome.
The text was updated successfully, but these errors were encountered: