aade4c7 degrades call quality
3.3.0 branch with 0e291a9509bb364b7595b88dae452df7c714ed7a as the latest commit.
- The call quality is noticeably worse after this commit (I tested several times switching between another 3.3.0 build up to cbc851bdaf9c33a3fa271ec1f668085373b08cf9 and the quality degrade is consistent)
- When I adjust volume during a call there is a bluetooth icon in the overlay volume toast instead of the normal phone icon:

Huawei U8800, Android 4.0.4
thanks @2-4601 can you describe in what ways the quality is worse?
My English vocabulary for describing the quality of a sound is not that great but there is cracking and if I sing a single continuous note there are very short but noticeable stops every now and then. Without this commit there are no such issues. Singing the note sounds continuous all the time and there is no cracking or other noise.
@2-4601 hmm i just tried signing to myself and it was fine on my device. What if you try signing to yourself via a WhatsApp voip call?
I don't have WhatsApp ;,,( But singing sounds fine on Signal before this commit. I guess we need more people to test if this affects only my crappy Huawei device or if it concerns more devices too.
Just imagining you guys singing to yourselves on the phone, lol.
@2-4601 when you're singing to yourself, are the two devices in the same room? it's possible this change kicks in some hardware-level echo cancellation, so the best test would be between two devices in separate rooms
No, they were in different rooms because I was standing at a doorway. My left hand (Nexus 4) was in a different room than my right hand (Huawei). Sorry, bad joke, really bad joke :see_no_evil:
I tested now by turning on the television, placed Nexus 4 near the TV speaker and called to my Huawei device. Then I went to the bathroom, closed the door and answered. Sound quality was still as bad as before. Then I tested the above scenario again with a previous build (i.e. without the low volume fix commit) and the sound quality was good.
I don't get where the bluetooth icon comes to the volume adjustment toast? @moxie0 Do you have a bluetooth icon or a regular phone icon? Previous builds did not have this bluetooth icon. For the record, I don't have a bluetooth headset, never used them with this device and bluetooth has always been turned off.
I've had the bluetooth icon bug since 3.0.3, I don't think it's related.
Yeah I had that bluetooth icon thing for a while too. If I were to attempt to compile my own build of Signal then I'm afraid the world as we know it might come to an end, so I'll just sit here and patiently wait for a couple of days until the next beta.
@2-4601 You can try again with 595bb08e2bfc521086fc3e7f52446e8483911157 but it's a long shot.
I tested with WhatsApp and a few other VoIP apps, and they also show the bluetooth volume thing. Not sure what's up with that. If you could install WhatsApp and test the VoIP quality on that phone, it would help to know whether we're doing something particularly wrong or if there's a problem with supporting that device.
Unfortunately 595bb08e2bfc521086fc3e7f52446e8483911157 didn't help with the sound quality.
I can test with WhatsApp but I can't do it now. I have to go away for the next 16 hours.
One last thing... the bluetooth volume icon switches back to a phone icon after I tap the speaker on and off during a Signal call. :no_mouth:
The symptoms described (cracking, and short stops every now again on sustained sound) sound like textbook redlining.
I've worked with symptoms like those hundreds of times (especially during the alsa days, but even on osx, ios, and RasPi). It usually comes down to one of the volumes in the chain being set to "max", which distorts the audio, then the user controls the volume on something further down the chain. (the quotes are a whole different rant about software volume levels and db)
This is just a theory based on previous (moderately related) experience. I'm not an android dev, so apply salt.
Sorry, I'm unable to register with WhatsApp: "+1 (616) XXX-XXXX is not a valid mobile number for the country: United States" :crying_cat_face: That number worked fine when I just registered with Signal. I also tried another number but got the same error message. I will try to find some other VoIP app to test with.
@Joshfindit That's interesting. Another way to describe the low quality would be to say that someone plays the voice so loud that it distorts and then records it and plays it again at a lower volume.
Tested with LinPhone [1, 2]. Sound quality is as good as with Signal without the low volume fix commit.
[1] Android app: https://play.google.com/store/apps/details?id=org.linphone [2] Source: https://www.linphone.org/technical-corner/linphone/downloads
Bad quality persists with Huawei (3.3.0 final). Also bad quality voice on my Nexus 4, stock 5.1.1, final 3.3.0 release. The volume level is also too low which made it hard to recognize the bad quality at first.
I will test tomorrow with other devices to rule out the crappiness factors of my Huawei device.
A friend reported the same behavior to me, and he's on a Huawei device as well.
Would your problems be solved when #4359 is fixed? Compared to csipsimple with opus codec, Signal voice quality is very poor and muddy. Also, Signal could tell what codec (and bitrate) is being used.
@Safari77 This was more about a single commit that degraded call quality (for some devices). Before that commit the call quality was good even with the current codec.
I will test tomorrow with other devices to rule out the crappiness factors of my Huawei device.
Testing a call between iPhone 4S, iOS 9.1, Signal 2.1.3 and Nexus 4, stock 5.1.1, Signal 3.1.1:
- there's also the issue with continuous sounds stopping intermittently (but now I'm convinced it has more to do with echo cancellation or the codec)
- call quality is otherwise quite ok
Conclusion: The commit did have a noticeable negative effect on call quality on my Huawei device. But hopefully it's just isolated to that. I will keep this issue open for a while after 3.3.x has been released on Play Store. If there are no other cases I will close this.
@5boro Which device does your friend have? Which version of Signal? How did your friend describe the call quality?