signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.6k stars 2.95k forks source link

Audio output randomly disabled on calls until app restart #5769

Closed sailbird closed 1 week ago

sailbird commented 3 months ago

Bug description

Describe here the issue that you are experiencing.

I'm on Android. This only seems to happen with my peers on iOS. It's being going on for months if not years. For some reason, when they answer my call, they can't hear anything. I can hear them, though. They can call me back, or I can call them back, and the silence persists. It's only when they close Signal (swipe it away) and reopen it by tapping on the icon that they can again hear me. This has happened regardless of which of my Android phones I've been on, and it seems unpredictable, affecting maybe 5% of calls.

Steps to reproduce

I'm pretty sure this has happened when the recipients were not actually listening to a voice message. Nevertheless there might be a common cause here:

https://github.com/signalapp/Signal-iOS/issues/5493

Also, I haven't asked my iOS peers to try muting and then unmuting, as described in this vaguely related issue:

https://github.com/signalapp/Signal-iOS/issues/5689

If this occurs again, I'll try asking them to do that.

Actual result: Describe here what happens after you run the steps above (i.e. the buggy behaviour)

Randomly, my peer can't hear me.

Expected result: Describe here what should happen after you run the steps above (i.e. what would be the correct behaviour)

They would be able to hear me.

Device: iPhone 13, at least, and I believe others, but it's been too long to remember.

iOS version: Various over many months.

Signal version:: Latest over many months.

sailbird commented 3 months ago

Confirmed that this also occurs on iPhone 15, so probably it occurs on 14 as well. In the most recent case, my peer was doing nothing with the phone at the moment I called. Their screen was lit up with another app but no user interaction was occurring. They were not playing a voicemail or doing anything with Signal. As always, a restart of Signal (not the phone) fixed the lack of received audio on their side. Prior to the restart, I was able to hear them but they were not able to hear me.

marissa-signal commented 3 months ago

Thank you for reporting! I'm thinking this may be more on the RingRTC (https://github.com/signalapp/ringrtc) side of things. I passed it along to someone on that team.

sailbird commented 3 months ago

Thanks @marissa-signal . One correction is that it has been confirmed on iPhone 13 and 14, but not 15. Not that it likely matters. Also, this might not be a purely statistical thing. Like if you call 1000 times in a row, they might all work fine. I suspect that some sort of sleep state is involved, either of the app or the relevant hardware. Maybe even the Airpods. No clue.

stale[bot] commented 2 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 1 week ago

This issue has been closed due to inactivity.