snikket-im / snikket-ios

Snikket iOS client
https://snikket.org/app/ios/
GNU General Public License v3.0
72 stars 10 forks source link

App will toggle handsfree calling off randomly #227

Open ismay opened 10 months ago

ismay commented 10 months ago

Describe the bug

In a call between snikket ios and snikket android via a snikket server, the ios app will sometimes randomly disable handsfree mode (or speakerphone). Handsfree then has to manually be enabled again.

To Reproduce Steps to reproduce the behavior:

  1. Start call
  2. Put phone in handsfree mode via snikket app
  3. Wait for handsfree to toggle itself off

Software versions:

If your problem involves communication with people using other apps/platforms, please include details of their app and versions also when possible.

Maybe the feature introduced here https://github.com/snikket-im/snikket-ios/pull/105 isn't working as expected, or reliably at at least.

mwild1 commented 10 months ago

Hi, thanks for the report! Do you use any bluetooth audio devices with the iPhone?

ismay commented 10 months ago

Hi, thanks for the report! Do you use any bluetooth audio devices with the iPhone?

Hi! No, neither of the callers are using bluetooth audio devices.

I wonder if it has anything to do with either side connecting to a new wifi access point (same SSID, different AP). That seems to mess with the snikket call connection in multiple ways, and seems to correlate with the iphone jumping off of speakerphone. Though it might be unrelated, it doesn't always happen.

ismay commented 9 months ago

I've updated the ticket with the ios details. In general it seems like the handsfree option isn't very reliable yet, as is calling in general between snikket ios and snikket android. I'll try to open issues (or add to existing ones) for any bugs encountered.

I've not been able to manually reproduce the inadvertent handsfree toggling yet. Will add details if I discover more.