bhavya32 / WA-Calls

29 stars 8 forks source link

Linux and Mac Port #1

Open unilogica opened 1 year ago

unilogica commented 1 year ago

Can you share audio source for I port it for MacOS and Linux?

Your study is very interesting and the most promising I found about the WhatsApp audio protocol. But if you port to Linux and Mac you get more help

bhavya32 commented 1 year ago

This repo is using a compiled C++ module named wavoip.node. There is no Linux client for WhatsApp Desktop available, so it can't be ported to linux.

As for MacOS, I don't have access to a MacBook, but I believe you just have to get the wavoip.node file from WhatsApp Desktop installed on a macos.

And by audio source, you mean audio.exe file source code? I can share it if you want.

unilogica commented 1 year ago

Nice. I found that, I'm working to make a port for OSX and Linux:

./Resources/app.asar.unpacked/node_modules/wavoip ./Resources/app.asar.unpacked/node_modules/wavoip/bin ./Resources/app.asar.unpacked/node_modules/wavoip/bin/darwin-x64-87 ./Resources/app.asar.unpacked/node_modules/wavoip/bin/darwin-x64-87/wavoip.node ./Resources/app.asar.unpacked/node_modules/wavoip/build ./Resources/app.asar.unpacked/node_modules/wavoip/build/Release ./Resources/app.asar.unpacked/node_modules/wavoip/build/Release/binding.node

Now I understand your line of reasoning. I wasn't understanding the Electron ecosystem choice, but now I understand why you focused on reverse engineering the WhatsApp Desktop binary - congrats your progress is really impressive.

rsaisankalp commented 8 months ago

Can you share steps and code to run it on mac