meshenger-app / meshenger-android

P2P Voice/Video phone App for local networks.
GNU General Public License v3.0
657 stars 106 forks source link

ERROR on calls with hotspot #133

Closed Xamyrz closed 2 months ago

Xamyrz commented 8 months ago

I was hoping that this app would work with a hotspot turned-ON on one of the phones. the call is incoming, but then it errors out. I've ran a debugger and it displays

reportStateChange() state=ERROR_COMMUNICATION
onStateChange() state=ERROR_COMMUNICATION

Is there a possibility for a fix? I'd really like to get it to work for rides on a motorbike without much extra gear other than a phone :)

mwarning commented 8 months ago

Hi, this is a known issue. I suspect the problem with WebRTC. But it is hard to debug. I would need to compile WebRTC myself. But this is far from trivial (there is https://github.com/threema-ch/webrtc-build-docker).

I tried to compile WebRTC myself to debug this, but then the App crashes. :/

ElonSatoshi commented 6 months ago

I hope there is a fix. Maybe an alternative to WebRTC could be added?

mwarning commented 6 months ago

I look at this issue once in a while. Compiling WebRTC is not trivial. @ElonSatoshi something other compared to WebRTC would be a major rewrite.

abduljabarrahmani commented 4 months ago

Hello, thank you for your good program, you can add chat mode, i.e. text message, in this program, thank you

ElonSatoshi commented 4 months ago

Hello, thank you for your good program, you can add chat mode, i.e. text message, in this program, thank you

https://briarproject.org/

mwarning commented 2 months ago

Related discussion: https://github.com/meshenger-app/meshenger-android/issues/120

mwarning commented 2 months ago

The thethering code from the webrtc ML works. :-) But now I wonder how to bring this into WebRTC..

mwarning commented 2 months ago

Please try Meshenger 4.3.1. It is intended to fix the issue.

Xamyrz commented 2 months ago

I've just tried it there. Google pixel 8 as tether and Samsung S21 connecting. After picking up it still errors out on incoming device and outgoing states 'connected' and closes the call few seconds later. No access to pc to debug the errors

mwarning commented 2 months ago

hm, this is unfortunate. Then more debugging needs to be done. It is working for me. :/

mwarning commented 2 months ago

It may very well dependent on the device.

mwarning commented 2 months ago

@Xamyrz did you use a usb dongle with your phone or did your phone create a hotspot?

Xamyrz commented 2 months ago

No dongles were used

On Wed 17 Jul 2024, 11:22 Moritz Warning, @.***> wrote:

@Xamyrz https://github.com/Xamyrz did you use a usb dongle with your phone or did your phone create a hotspot?

— Reply to this email directly, view it on GitHub https://github.com/meshenger-app/meshenger-android/issues/133#issuecomment-2232961191, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFC5UN3VXCEY766J7CLGM3ZMZAVVAVCNFSM6AAAAABCEDCHG2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZSHE3DCMJZGE . You are receiving this because you were mentioned.Message ID: @.***>

mwarning commented 2 months ago

The attached apk seems to be the wrong version. @Xamyrz can you check if it says 4.3.1 on the "About" page? I have attached a new apk to https://github.com/meshenger-app/meshenger-android/releases/tag/v4.3.1

Xamyrz commented 2 months ago

Yes, you're right on this! It works flawlessly right now! Thank you :)

mwarning commented 2 months ago

@Xamyrz can you also try the 4.3.2 pre (first link) release?

Meshenger cannot be released to F-Droid with the current approach (webrtc lib in the repository). So I thought of a different solution. It works for me. But I would like to have another confirmation.

Xamyrz commented 2 months ago

@mwarning 4.3.2 Pre works :)

mwarning commented 2 months ago

@Xamyrz awesome, then enjoy the 4.3.2 release. :)

Xamyrz commented 2 months ago

Thank you for pushing this out! Will give it a go on a motorbike with my partner in couple days. No more loosing signal on whatsapp/cellular calls between us

mwarning commented 2 months ago

@Xamyrz cool, let me know how it works for you.